赞
踩
错误:WARNING: Ignoring invalid distribution -ip
原因可能是之前下载库的时候没有成功或者中途退出。
解决方法:
到提示的目录site-packages(比如我的目录是:C:\Python37\Lib\site-packages)下删除~ip
开头的目录即可。
错误:Looking in indexes:https://pypi.tuna.tsinghua.edu.cn/simple
dos窗口和用pip下载包,出现错误:Looking in indexes:https://pypi.tuna.tsinghua.edu.cn/simple
解决方法:
在下载命令行后面加上:-i http://pypi.douban.com/simple --trusted-host pypi.douban.com
参考:https://www.cnblogs.com/xiaoshubass/p/16921744.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。