Access CEA using the Pycharm Interface

In order to access and work on the source code of CEA from Pycharm, you have to open it as a project and set the interpreter to the CEA environment.

  1. Download and install Pycharm Community edition if you haven’t already.

  2. Open PyCharm and open CityEnergyAnalyst source code as a project.

  3. Open File>Settings>Project:CityEnergyAnalyst>Project Interpreter>Project Interpreter.

  4. Click on the settings button (it looks like a wheel) next to the current interpreter path, and click Add.

  5. Click System Interpreter from the left hand list and select existing environment.

  6. Point to C:\Users\<you>\Documents\CityEnergyAnalyst\Dependencies\Python\python.exe for Windows or /Users/<you>/Documents/CityEnergyAnalyst/Dependencies/Python/python for MacOS.

  7. Click apply changes.