Open Project Structure with command
+;
and select Python SDK> Add Local from+
in the upper left.
Set the bin / python path of the virtual environment.
In my environment / Users / user_name / anaconda / envs / machine_learning_env / bin / python
After adding, you will be able to resolve the path with apply.
If it doesn't work, it's quick (maybe) to delete the entire .idea /
directory and recreate the project.
Reference: https://www.jetbrains.com/help/idea/adding-existing-virtual-environment.html
Recommended Posts