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环境变量就可以了

 

posted on 2026-01-19 23:36  le.li  阅读(1)  评论(0)    收藏  举报