I run a server with debian 9, with indico, and try to upgrade it to debian 10
After the upgrade of postgresql and the debian, I was unable to run pip under indico user.
Anyone have experience of that ?
When I try to run pip under indico user, I got this message. I check the path are correct, it’s indeed the rigth python it launch
indico@indico:~$ source .venv/bin/activate (.venv) indico@indico:~$ pip Traceback (most recent call last): File "/opt/indico/.venv/bin/pip", line 5, in <module> from pip._internal.cli.main import main File "/opt/indico/.venv/local/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 6, in <module> import logging File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module> import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/weakref.py", line 14, in <module> from _weakref import ( ImportError: cannot import name _remove_dead_weakref (.venv) indico@indico:~$