How to run PyCharm with Docker and *Conda

Published by admin. 14. January 2021 No Comments

I assume that docker is installed and a docker container with Conda is already running. Furthermore, this will only work on PyCharm Professional.

  1. connect PyCharm to Docker using this tutorial. IMPORTANT: Change the python interpreter path from “python” to “/path/to/conda-env/on/docker/bin/python3.X”, replacing the path according to the Conda installation in your docker container
  2. Open or create a new project, navigate to configuration and change the interpreter to the remote docker interpreter
  3. if you’re running matplotlib, make sure to follow this tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *