【Python问题】解决pip install xxx出现Cannot open ...\venv\Scripts\pip-script.py问题
发布日期:2021-06-24 15:29:01 浏览次数:2 分类:技术文章

本文共 1422 字,大约阅读时间需要 4 分钟。

这就是需要更新pip的提示

进入到(或者配置环境变量就无所谓了)python命令安装目录下执行

(venv) D:\python\code>easy_install pip###出现下面安装更新信息Searching for pipReading https://pypi.org/simple/pip/Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl#sha256=4ae14a42d8adba3205ebeb38aa68cfc0b6c346e1ae2e699a0b3bad4da19cef5cBest match: pip 20.0.2Processing pip-20.0.2-py2.py3-none-any.whlInstalling pip-20.0.2-py2.py3-none-any.whl to d:\python\code\venv\lib\site-packagesAdding pip 20.0.2 to easy-install.pth fileInstalling pip-script.py script to D:\python\code\venv\ScriptsInstalling pip.exe script to D:\python\code\venv\ScriptsInstalling pip3-script.py script to D:\python\code\venv\ScriptsInstalling pip3.exe script to D:\python\code\venv\ScriptsInstalling pip3.8-script.py script to D:\python\code\venv\ScriptsInstalling pip3.8.exe script to D:\python\code\venv\ScriptsInstalled d:\python\code\venv\lib\site-packages\pip-20.0.2-py3.8.eggProcessing dependencies for pipFinished processing dependencies for pip###结束

再次执行即可

(venv) D:\python\code>pip install openpyxlRequirement already satisfied: openpyxl in d:\python\code\venv\lib\site-packages (3.0.3)Requirement already satisfied: jdcal in d:\python\code\venv\lib\site-packages (from openpyxl) (1.4.1)Requirement already satisfied: et_xmlfile in d:\python\code\venv\lib\site-packages (from openpyxl) (1.0.1)

更新了以下文件

转载地址:https://blog.csdn.net/weixin_33602978/article/details/105405623 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:【茶余饭后】安装Apache配置正向代理和反向代理
下一篇:【RPC系列】5、向Zookeeper上注册服务(用netty、zk手写RPC第二步)

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月10日 17时05分50秒