C/C++教程

下载接口时出现: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,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

下载接口时出现: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的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!