You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On an Ubuntu 20.04 LXC I get the following error when executing pip install -r requirements.txt :
Building wheels for collected packages: pynetbox
Building wheel for pynetbox (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /root/netbox-scanner/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q7v9tk77/pynetbox/setup.py'"'"'; __file__='"'"'/tmp/pip-install-q7v9tk77/pynetbox/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-m46mij1y
cwd: /tmp/pip-install-q7v9tk77/pynetbox/
Complete output (32 lines):
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
/tmp/pip-install-q7v9tk77/pynetbox/.eggs/setuptools_scm-6.3.2-py3.8.egg/setuptools_scm/integration.py:16: RuntimeWarning:
ERROR: setuptools==44.0.0 is used in combination with setuptools_scm>=6.x
Your build configuration is incomplete and previously worked by accident!
This happens as setuptools is unable to replace itself when a activated build dependency
requires a more recent setuptools version
(it does not respect "setuptools>X" in setup_requires).
setuptools>=31 is required for setup.cfg metadata support
setuptools>=42 is required for pyproject.toml configuration support
Suggested workarounds if applicable:
- preinstalling build dependencies like setuptools_scm before running setup.py
- installing setuptools_scm using the system package manager to ensure consistency
- migrating from the deprecated setup_requires mechanism to pep517/518
and using a pyproject.toml to declare build dependencies
which are reliably pre-installed before running the build tools
warnings.warn(
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for pynetbox
Running setup.py clean for pynetbox
Failed to build pynetbox
Installing collected packages: certifi, chardet, idna, urllib3, requests, six, pynetbox
Running setup.py install for pynetbox ... done
Successfully installed certifi-2020.4.5.1 chardet-3.0.4 idna-2.9 pynetbox-4.3.1 requests-2.23.0 six-1.15.0 urllib3-1.25.9
Any ideas how I can get this project installed and working in the latest NetBox?
The text was updated successfully, but these errors were encountered:
Thank you for this project.
On an Ubuntu 20.04 LXC I get the following error when executing
pip install -r requirements.txt
:Any ideas how I can get this project installed and working in the latest NetBox?
The text was updated successfully, but these errors were encountered: