[pypy-issue] Issue #2194: pypy does not include any ~/.local/lib/* directory in sys.path (pypy/pypy)
issues-reply at bitbucket.org
Mon Nov 23 21:39:58 EST 2015
New issue 2194: pypy does not include any ~/.local/lib/* directory in sys.path
I installed pypy 4.0.1 from https://launchpad.net/~pypy/+archive/ubuntu/ppa (tested both Ubuntu 14.04 and 15.10) and pypy did not include any `~/.local/lib/*` directory in `sys.path`:
Python 2.7.10 (4.0.1+dfsg-1~ppa1~ubuntu15.04, Nov 20 2015, 19:34:27)
[PyPy 4.0.1 with GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
['', '/usr/lib/pypy/lib_pypy/__extensions__', '/usr/lib/pypy/lib_pypy', '/usr/lib/pypy/lib-python/2.7', '/usr/lib/pypy/lib-python/2.7/lib-tk', '/usr/lib/pypy/lib-python/2.7/plat-linux2', '/usr/local/lib/pypy2.7/dist-packages', '/usr/lib/pypy/dist-packages']
This is not really what I expected, because I'm used to being able to install modules scoped to a user account, without a virtualenv.
Compare with cpython, which includes `$HOME/.local/lib/python2.7/site-packages`.
More information about the pypy-issue