- Make a virtualenv (eg with virtualfish)
- Project Structure > Platform Settings > SDKs > (add) > Add Python SDK
- Existing environment > Choose
~/.virtualenvs/<name>/bin/python3.7
- Project Settings > Modules > (add) > Import module > (select root directory of Python app)
- Create module from existing sources, confirm sources
- Choose SDK created in step 3
- (optional) Mark sources
- Module in sidebar > Dependencies > (update SDK)
Created
February 17, 2021 10:52
-
-
Save jamieparkinson/2bbeff1506cacd9e1017906ab4b3a400 to your computer and use it in GitHub Desktop.
Importing virtualenvs into IntelliJ
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment