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)