Why do I have different "pip list" resources in the same environment, depending on which tmux session I am currently in?

51 views Asked by At

I have a virtual environment within which I work with PyTorch and have opened several tmux sessions. Today I noticed that, when running pip list in one of the tmux sessions, I get no installed torch-version at all. In another tmux session, I get e.g. torch 2.1.2 and other installed packages.

Does somebody know what the mistake here is and how to fix it without having to create a new virtual environment?

Kind regards

PS: In this environment I also have to first load my python version via module load... before being able to use things like pip list. Otherwise I get an error "home/python_env/python: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file" (see also my comment below)

0

There are 0 answers