美文网首页
已解决:python3.6 使用pip命令安装tornado时报

已解决:python3.6 使用pip命令安装tornado时报

作者: 悟饭哪 | 来源:发表于2018-06-08 23:00 被阅读112次

在使用pip install tornado命令安装tornado时,报错了,错误信息如下:

Could not find a version that satisfies the requirement tornado (from versions: )
No matching distribution found for tornado

原因是我的电脑没有科学上网,科学上网后再次执行安装命令,报了另一个错:

OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/futures-3.2.0.dist-info'

原因是权限问题,在命令前加上sudo就可以,即使用命令sudo pip install tornado
执行情况如下:

但这是安装到系统带的python2.7上了,如需安装到python3.6上,执行此命令即可
sudo pip3 install tornado,执行情况如下:

Have fun.

相关文章

网友评论

      本文标题:已解决:python3.6 使用pip命令安装tornado时报

      本文链接:https://www.haomeiwen.com/subject/duszsftx.html