Use Conda environment in pycharm

open

pycharm/preferences/project/Project Interpreter

And check existing interpreter. Conda environments may already be listed there.

enter image description here

If not exists, you can create a new conda environment with “Create Conda Env” button

enter image description here

If you are looking for a specific conda environment you can use ‘add local’. When you click ‘add local’ you will input conda environment path + /bin/python

You can list all conda environment in your system with following commnad.

>>conda info --env
# conda environments:
#
tensorflow            *  /Users/username/miniconda3/envs/tensorflow

you can chose the approach best fits your needs.

Leave a Comment