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...