Pycharm使用國內源下載package

PyCharm在下載package時太慢或時常下載失敗報Available packages nothing to show。
解決方案

  1. 打開settrings
    打開settings
  2. 找到項目對應的Project,點擊右側的+號
    找到對應的project
  3. 點擊Manage Repositories
    Manage Repositories
  4. 點擊鏈接按鈕,編輯
    國內源:
  • 清華: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. 搜索自己要下載的包,開始下載,如果不成功換一個國內源鏈接。
下載安裝包


以上內容如有爭議、指正,留言給我~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章