我想在USB驅動器上安裝pip F:在可移植python旁邊,但它似乎沒有工作。我使用Git-bash(msys)作爲我的命令行。請參閱下面的我的嘗試:如何在usb驅動器上輕鬆安裝pip?
MYPC /f
$ which python
/f/ppython275/App/python
MYPC /f
$ which pip
MYPC /f
$ python get-pip.py
Downloading/unpacking pip
Downloading pip-1.5.tar.gz (898kB): 898kB downloaded
Running setup.py egg_info for package pip
warning: no files found matching 'pip\cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
Installing collected packages: pip
Running setup.py install for pip
warning: no files found matching 'pip\cacert.pem'
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.rst' found under directory 'docs\_build'
no previously-included directories found matching 'docs\_build\_sources'
Installing pip-script.py script to f:\ppython275\App\Scripts
Installing pip.exe script to f:\ppython275\App\Scripts
Installing pip.exe.manifest script to f:\ppython275\App\Scripts
Installing pip2.7-script.py script to f:\ppython275\App\Scripts
Installing pip2.7.exe script to f:\ppython275\App\Scripts
Installing pip2.7.exe.manifest script to f:\ppython275\App\Scripts
Installing pip2-script.py script to f:\ppython275\App\Scripts
Installing pip2.exe script to f:\ppython275\App\Scripts
Installing pip2.exe.manifest script to f:\ppython275\App\Scripts
Successfully installed pip
Cleaning up...
MYPC /f
$ which pip
我已重新啓動命令行。但「哪個點」仍然沒有產生任何結果。我怎樣才能解決這個問題?
在'PATH'中是'f:\ ppython275 \ App \ Scripts'嗎? – MattDMo
這可能有助於:http://stackoverflow.com/questions/4324558/whats-the-proper-way-to-install-pip-virtualenv-and-distribute-for-python –