下载接口时出现:Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\python\demo\venv\Scripts\...的错误

下载接口时出现:Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\python\demo\venv\Scripts\python.exe'.的错误(尝试从系统终端运行此命令。请确保您使用了安装在'D: Python \demo\venv\Scripts\ Python .exe'目录下的正确版本的'pip'。)

解决方法:

1.在D: Python \demo\venv\Scripts路径下进入cmd

2.输入python.exe -m pip install xxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

其中xxx是接口名

结果如下

 

 说明下载成功

 

posted @ 2022-01-10 21:18  -第4题-  阅读(373)  评论(0编辑  收藏  举报