Replies: 1 comment 2 replies
-
Put the package in local_requirements.txt and rerun the script. Your venv is likely with improper permissions set, therefore the user netbox runs as can't add packages. You should also not install packages system-wide, but within the venv. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed on a fresh Ubuntu 24.04.1 python 3.12 Netbox v4.1.3 with gunicorn and nginx as a proof of concept according to the official documentation .
I can access Netbox login and so on, so I assume the install seems to be correct.
As I need some essential plugins I try to install them . I am aware that plugin development may be behind the actual netbox version. But I cannot install a single one. With pip install I always got a
„ERROR: could not install packages due to an OSError 13 Permission denied /opt/netbox-4.1.3/venv/lib/python3.12/site-packages/netbox_reorder_rack. Check permissions
Of course the whole app under /opt/netbox is owned by root.
If I try to sudo pip install…. I got another error: externally-managed-environment
So what did I wrong?
Beta Was this translation helpful? Give feedback.
All reactions