1. 先下載Anaconda,安裝後直接有python
地址 https://www.anaconda.com/products/individual
2. 下載pycharm社區版,project interpreter 中選擇Anaconda中的python
3. pycharm中安裝包:File | Settings | Project: python_project | Project Interpreter 點加號然後搜索需要的包名
4. pycharm中添加倉庫路徑,File | Settings | Project: python_project | Project Interpreter 點加號
然後 Manage Repositories,再點加號,寫入地址
倉庫路徑:
清華:https://pypi.tuna.tsinghua.edu.cn/simple
阿里雲:http://mirrors.aliyun.com/pypi/simple/
中國科技大學 https://pypi.mirrors.ustc.edu.cn/simple/
參考資料:
Anaconda和Pycharm的安裝和配置
https://www.cnblogs.com/yuxuefeng/articles/9235431.html
寫的很好!配置python,tensorFlow很方便。