python3 netbox/manage.py migrate ModuleNotFoundError: No module named 'django' when upgrading NetBox #5491
Unanswered
infraengineer-sre
asked this question in
Q&A
Replies: 1 comment
-
Did you ever sort this out? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Steps to Reproduce
[root@NetBox netbox-2.7.12]# ./upgrade.sh
Removing old virtual environment...
Creating a new virtual environment at /opt/netbox-2.7.12/venv...
Error: Command '['/opt/netbox-2.7.12/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
ERROR: Failed to create the virtual environment. Check that you have
the required system packages installed and the following path is
writable: /opt/netbox-2.7.12/venv
Expected Behavior
(venv) [root@NetBox netbox-2.7.12]# python3 netbox/manage.py migrate
Observed Behavior
Beta Was this translation helpful? Give feedback.
All reactions