我已经安装了python3.4并尝试使用pip来管理包,但不幸的是我收到了这个消息

2024-09-29 17:21:54 发布

您现在位置:Python中文网/ 问答频道 /正文

操作系统:Windows 10你知道吗

我在运行时安装了python3.4.0

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。你知道吗


Tags: installpipordjangoaniswindowsas
1条回答
网友
1楼 · 发布于 2024-09-29 17:21:54

如果没有命令,就不能从CMD调用C:\Python34>pip install djangopython.exe你知道吗

CMD不知道pip是什么。你知道吗

您必须将python exe指定为:(这对我很有用)

C:\Python34>python.exe -m pip install django 

或者如果python.exeis系统变量:

python -m pip install django

相关问题 更多 >

    热门问题