Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install not working #33

Open
hanserasmus opened this issue Oct 5, 2021 · 1 comment
Open

pip install not working #33

hanserasmus opened this issue Oct 5, 2021 · 1 comment

Comments

@hanserasmus
Copy link

Thank you for this project.

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?

@Wieprzos
Copy link

Bumped at same issue, OS version match. Any hope for resolving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants