Pycharm加载第三方插件失败方法(关键字:Nothing to show)和安装失败解决办法

一、修复插件显示错误,共3个步骤:

1,添加额外源: 

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/ 

豆瓣:http://pypi.douban.com/simple/

2,创建目标文件夹pip和文件PIP.INI,写入内容。具体路径依据当前用户而定,这里是‘huo’。

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com

扫描二维码关注公众号,回复: 3821397 查看本文章

3,重启Pycharm软件,完成!

参考URl

参考url: https://blog.csdn.net/backgj0/article/details/80693557

二、如果还是安装失败,建议直接下载源,pip命令进行安装:

1,进入网站找到资源并下载:https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python 。版本选择时注意当前python是32还是64。不是操作系统的版本。

2,切换到pip目录(一般在python/script/下),执行 pip install xxx.whl ,安装完成。

猜你喜欢

转载自blog.csdn.net/huoyuanshen/article/details/82984692