中,但未識別Pip。我一直在使用Python,並且使用Pip時遇到了一些麻煩。我的Python 3.6在Windows 10安裝,並且已經能夠通過安裝源文件,然後拆箱和使用儘管所有引用存在於PATH環境變量
python setup.py install
這正常安裝軟件包獲得通過,但我想,當遇到一些問題安裝lxml,並且真的想能夠使用Pip。從一開始我已經添加了一切,我的路徑變量,並有
echo %PATH%
輸出作爲
C:\Python36\;C:\Python36\Scripts\;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\R2015b\bin;C:\Users\[name]\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Java\jdk1.8.0_102\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Skype\Phone\;C:\Users\[name]\AppData\Local\Microsoft\WindowsApps;C:\Users\[name]\AppData\Roaming\npm;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Python36\;C:\Python36\Scripts
我失去了對這個問題,因爲儘管C:\ Python36 \ Scripts中\現有的,當我運行
pip install <package name>
我收到
'pip' is not recognized as an internal or external command, operable program or batch file.
嘗試再次關閉並打開命令窗口,如果您最近設置了路徑 – csharpcoder