PyCharm在下載package時太慢或時常下載失敗報Available packages nothing to show。
解決方案
打開settrings
找到項目對應的Project,點擊右側的+號
點擊Manage Repositories
點擊鏈接按鈕,編輯
國內源:
清華: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/
選擇其中一個復制后,點擊確定。
操作1:
操作2:
5. 搜索自己要下載的包,開始下載,如果不成功換一個國內源鏈接。
————————————————
原文鏈接:https://blog.csdn.net/weixin_42119415/java/article/details/103103779