Using (Ana)conda within PyCharm

前端 未结 5 948
挽巷
挽巷 2020-11-28 01:24

I\'ve got Pycharm 4 running on my Linux (Ubuntu 14.04) machine. In addition to the system python, I\'ve also got Anaconda installed. Getting the two to play nicely togethe

5条回答
  •  离开以前
    2020-11-28 01:58

    this might be repetitive. I was trying to use pycharm to run flask - had anaconda 3, pycharm 2019.1.1 and windows 10. Created a new conda environment - it threw errors. Followed these steps -

    1. Used the cmd to install python and flask after creating environment as suggested above.

    2. Followed this answer.

    3. As suggested above, went to Run -> Edit Configurations and changed the environment there as well as in (2).

    Obviously kept the correct python interpreter (the one in the environment) everywhere.

提交回复
热议问题