You are not logged in.
Hello to everybody.
I've just updated and got Python 3.7 in the process.
I have a couple of VENV I use for Django projects running in Apache. They've been working before the update, and survived a couple of years of updates.
Now, there are errors preventing them to run correctly: Modules not found, "populate() not reentrant".
Try to activate the VENV and running pip, it says
ModuleNotFoundError: No module named 'pip'
I'm searching the internet trying to understand what happened.
In the meantime, do you have any help or hint?
Thanks in advance,
Dario
Offline
Offline
Hi.
Thanks for the hint.
PIP system-wide works correctly, it's just the PIP inside the VENVs that's not working.
I'll investigate the bug by the way.
Thanks,
Dario
Offline
It turns out that python in venv/bin is a symbolic link to system wide python... https://bugs.python.org/issue32444
Maybe this is the problem...
Offline
I solved rebuilding the VENVs. I still don't know what caused the mishaps, but at least the Django applications are working again.
Thanks,
Dario
Offline
The mishap is that you *always* need to upgrade your venv after a major.minor python update.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline