Reputation: 27969
I created a new virtualenv on the shell in this directory:
/home/x/projects/foo-env
Then I started PyCharm and opened above directory as new project.
Since PyCharm took very long to index above empty virtualenv I looked at the process:
ls -l /proc/PID-OF-PYCHARM/fd
....
lr-x------ 1 x x 64 Aug 22 13:02 29 -> /home/x/Musik/Hit-Giganten/Best_Of_Italo_Hits/cd1/08.Adriano_Celentano__24.000_Baci.ogg
Why does PyCharm look at my folder containing Italian pop-music?
I googled, but could only find a way how to exclude directories which are in the project root. Above file is outside the project root.
Upvotes: 2
Views: 603
Reputation: 337
Go to Settings->Project->Project interpreter->Click on the settings icon button->Remove the path of the directory that you don't want to be included.
Found the solution at: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000550410-Constant-indexing-of-external-data-folder-makes-pycharm-unusable
Upvotes: 3