You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. There are several other places where pip checks sys.prefix (in
util.py and req.py). If we really need to support sys.pypi_prefix as an
alternative, those places should also pull the value from locations.py, I
think. But this doesn't quite seem right; do we (and any other project that
uses sys.prefix for anything) have to support an alternative prefix attribute
for every non-CPython interpreter? Why can't PyPy set sys.prefix?
According to Alex Gaynor, a PyPy core dev, PyPy trunk now has sys.prefix, it
just didn't get in in time for the release. So all future releases of PyPy
should not have this problem. Accordingly, marking this wontfix.
Pip currently requires that sys.prefix exist, which doesn't appear to be the case in Pypy (for some reason, it uses sys.pypy_prefix). This is fixed in this changeset: http://bitbucket.org/jasbaker/pip/changeset/7bc1620ecfd8
The text was updated successfully, but these errors were encountered: