Skip to main content

Using PyCharm with your Virtual environment

warning

These are our old docs! Please see our new docs by clicking on the M3 docs dropdown and selecting "New M3 docs".

These old docs were roughly converted from our old format. As a result, this copy is not identical to our previous docs. You can still find our old docs at https://old-docs.massive.org.au/.

You may notice some formatting and structural issues with these old docs. We will not resolve these, this is here purely for backwards compatibility to ensure old URLs do not die.

Attention

This documentation is under active development, meaning that it can change over time as we refine it. Please email help@massive.org.au if you require assistance, or have suggestions to improve this documentation.

After successfully creating your own Python environment, you can use it in your PyCharm projects.

The first step is to start PyCharm. Start a MASSIVE desktop session

: and select PyCharm from the menu.

  1. Once PyCharm is up and running, select File, New Project.

2. You will be presented with the Create Project window. Click on the arrow next to 'Project Interpreter'

  1. Select 'Existing interpreter' and click the 'browse' icon.

4. Browse to the location where you created your virtual environment, enter the 'bin' folder, then select the 'python' executable. Click OK.

  1. Click OK.

6. Back on the Create Project window, enter the new project name. Click OK. You now have a PyCharm project setup using your new virtual environment.