操作系统:Windows 10
我安装了python 3.4。当我跑
时python -m endurepip,
它说这是最新的。
但是当我跑这个时,
它返回
C:\Python34>pip install django
'pip' is not recognized as an internal or external command,
operable program or batch file.
即使我运行此命令,
C:\Python34>python -m pip --version
pip 1.5.4 from C:\Python34\lib\site-packages (python 3.4)
显示pip。
答案 0 :(得分:0)
如果没有python.exe
,您无法从CMD调用C:\Python34>pip install django
CMD不知道pip
是什么。
您必须将python exe指定为:(这适用于我)
C:\Python34>python.exe -m pip install django
或者如果python.exe是system var:
python -m pip install django