1
我有一台没有root访问权限的Linux机器上的帐户。 Python和PIP已安装,但我不想安装它们的版本,我想安装我自己的Python。使用--user安装时,pip位于何处?
所以我去了http://pip.readthedocs.org/en/latest/installing.html并下载了get-pip.py。然后,我用这样的现有的Python运行它:
/usr/bin/python get-pip.py --user
然后输出是这样的:
/usr/lib/python2.6/site-packages/setuptools/command/install_scripts.py:3: UserWarning: Module pip was already imported from /tmp/tmpuuEbJv/pip.zip/pip/__init__.py, but /usr/lib/python2.6/site-packages is being added to sys.path
from pkg_resources import Distribution, PathMetadata, ensure_directory
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.6-py2.py3-none-any.whl#md5=4d4fb4b69df6731c7aea6300bc1f2
Downloading pip-1.5.6-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded
Installing collected packages: pip
Successfully installed pip
Cleaning up...
但现在是在安装新的点子在哪里?哪个目录?