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. 搜索自己要下載的包,開始下載,如果不成功換一個國內源鏈接。
以上內容如有爭議、指正,留言給我~