下载接口时出现:Try to run this command from the system terminal. Make sure that you use the correct version

下载接口时出现: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是接口名

结果如下

下载接口时出现:Try to run this command from the system terminal. Make sure that you use the correct version

 

 说明下载成功

下载接口时出现:Try to run this command from the system terminal. Make sure that you use the correct version

 

上一篇:CentOS7.6下安装Redis5.0.7


下一篇:C语言 Make命令教程