ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

python: 安装python 依赖pip install xxx报错,pip 不是内部或外部命令,也不是可运行的程序

python: 安装python 依赖pip install xxx报错,pip 不是内部或外部命令,也不是可运行的程序

image

查看python版本:python --version

image

 安装pip(查询ai发现 Python 3.4 及以上的版本,应该预装了pip )

python -m pip install --upgrade pip

执行后发现先卸载,后安装了相同的版本pip,warning中打印:

WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'D:\Python\Python38\Scripts' which is not on PATH.

image

实际将D:\Python\Python38\Scripts添加path环境变量就可以了

 

返回列表