命令,Python的2.7.9預裝有畫中畫,但是當我嘗試執行從CMD(Windows)中畫中畫命令我得到以下錯誤:如何運行皮普從CMD
'pip' is not recognized as an internal or external command, operable program or batch file.
當我輸入python
我得到以下,這表明它已經被正確安裝:
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
,但我卻需要添加一些環境變量,以獲得蟒蛇零件CMD工作:
添加到環境變量
PATH
:"C:\Python27\"
定義系統變量
PYTHONPATH
:"C:\Python27\"
我無法找到Python的目錄內的畫中畫文件夾,但是,有一個名爲「ensurepip文件夾「在C:\Python27\Lib\
。
有誰知道我如何獲得PIP命令以開始在CMD中工作?
感謝那些工作!我會盡快接受定時器 – algorhythm
@CMAC歡迎:) –
python -m pip install /usr/bin/python:pip是一個包,不能直接執行 –