Pycharm mix up virtual env and default lib package


I recently have some issue regarding the mix-up of lib package of virtual env and the default lib.

Screent shot I here:

Apparently, the virtual env "sopNMF_atlas_3.8" (python 3.8) tried to use the pandas in this virtual env, but later he went back to the default lib (python 3.7). This also happens for some other virtual env that I am using. Most of the time, the affected packages are, numpy, pandas, scipy... I also found sometimes the debugger will first go to the default lib to find the required package, if the package is not there, he will search in the virtual env then...

1 comment
Comment actions Permalink

Does it happen only when debugging?

What entries do you have in Interpreter Paths


Please sign in to leave a comment.