Developing Python using Pycharm
Permanent Link:
Pycharm is the go-to IDE for Python projects in the institute. It's available on all institute Linux computers from the start menu and via command line:
user@host >
pycharm+
Python environments
IT recommends using Conda to compartmentalize and manage your software during development. Pycharm knows about what Conda does and is able to interpret what's going on in the respective virtual environment(s). Required steps:
- Install conda. Use the methode described here: https://topic.cbs.mpg.de/conda .
- Open Pycharm, find the main settings dialog (cog in the upper right corner)
- Find the "Project Interpreter" topic of your project.
- You want to inform Pycharm of your Conda installation. Select "Add Interpreter" to do that.
- Select "Conda Environment"
- Select the conda binary in your Conda folder:
/data/u_
user _software/conda/bin/conda
user is a placeholder for your login name.
- Either select an existing Conda environment or create one now.
- Pycharm will require some time to update it's indexes.
- Enjoy!