[英]You are using pip version 8.1.1, however version 21.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command
考虑使用--user
选项或检查权限。
pip install -U --upgrade pip
Three things to do:要做的三件事:
python3 pip install --upgrade pip
Configure your VS Code environment for python 3.x为 python 3.x 配置 VS Code 环境
Run your file using python3 [filename.py]
使用python3 [filename.py]
运行你的文件
如果上述建议失败,您应该尝试:
pip install --upgrade pip
我尝试了很多不同的,但下面的一个对我有用
pip3 install --upgrade pip --user
I added the folder than tried pip install --upgrade pip and it worked.我添加了文件夹而不是尝试 pip install --upgrade pip 并且它有效。 You may have to show your hidden folders to follow the path.您可能必须显示隐藏文件夹才能跟随路径。
Python was not found;未找到 Python; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.在没有 arguments 的情况下运行以从 Microsoft Store 安装,或从“设置”>“管理应用程序执行别名”中禁用此快捷方式。 To fix this problem, I'm trying to install it using this command: python -m pip install --upgrade pip setuptools virtualenv)为了解决这个问题,我尝试使用以下命令安装它:python -m pip install --upgrade pip setuptools virtualenv)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.