pythonのIDEはAnaconda下の仮想環境を使用する[PyCharm]
1921 ワード
pycharmを使用しています.
python interpreterを変更するだけでいいです.
1.IDE設定のProject Interpreter
を見つける
2.検索ボタン

3.Add Localをクリックしてpythonプログラムを実行したい仮想環境を選択します.私の仮想環境はanncondaの下のkeras仮想環境です.
4.構成が完了したら、アプリケーション
をクリックする
また、仮想環境を開いて http://stackoverflow.com/questions/30170468/how-to-run-spyder-in-virtual-environment https://www.jetbrains.com/help/pycharm/2016.2/adding-existing-virtual-environment.html
python interpreterを変更するだけでいいです.
1.IDE設定のProject Interpreter
![python的IDE使用Anaconda下的虚拟环境[PyCharm]_第1张图片](https://s1.md5.ltd/image/b382834026fe8fe6dd52b9d098049fce.png)
2.検索ボタン


3.Add Localをクリックしてpythonプログラムを実行したい仮想環境を選択します.私の仮想環境はanncondaの下のkeras仮想環境です.
![python的IDE使用Anaconda下的虚拟环境[PyCharm]_第2张图片](https://s1.md5.ltd/image/2754732f1cb1c69877cf6a394c237d0f.jpg)
4.構成が完了したら、アプリケーション

また、仮想環境を開いて
python pyfile.py
でいいref: