Skip to content

Sisyphus PyCharm Setup

Albert Zeyer edited this page Jun 1, 2021 · 8 revisions

Some tweaks can be applied to use PyCharm more comfortably with Sisyphus setup folders.

Disable some folders from the indexing:

  1. Go to Settings -> Project <project_name> -> Project Structure
  2. Select (if existing, if not yet repeat later) "alias", "output", "work" and click on "Exclude"

Add a custom interpreter for correct Python package paths:

  1. Go to Settings -> Project <project_name> -> Project Interpreter
  2. Select top bar or gear symbol and click on "show all"
  3. Click on the plus and add the python interpreter (even if it already exists) that you want to use
  4. Click on the pen to rename the interpreter to e.g. <project_name>
  5. Click on the folder symbol and add the recipe folder in your setup to the paths
  6. If Sisyphus is not installed in the env, also add the sisyphus folder inside the sisyphus repository to the path

Alternatively:

Right-click the directories such as recipe, sisyphus etc which should be root source directories to become root source directories. Then PyCharm treats them as being in the paths (sys.path).

Clone this wiki locally