Closed eN0Rm closed 3 years ago
Missing wheel package in requirements.
Building wheels for collected packages: pynetbox, PyYAML Building wheel for pynetbox (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/frno/netbox-devices/Netbox-Device-Type-Library-Import/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pi p-install-9upmjcmq/pynetbox/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9upmjcmq/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-pnc61wpm cwd: /tmp/pip-install-9upmjcmq/pynetbox/ Complete output (8 lines): WARNING: The wheel package is not available. WARNING: The wheel package is not available. 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 Building wheel for PyYAML (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/frno/netbox-devices/Netbox-Device-Type-Library-Import/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9upmjcmq/PyYAML/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9upmjcmq/PyYAML/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);co de=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-dsuyr1k0 cwd: /tmp/pip-install-9upmjcmq/PyYAML/ Complete output (6 lines): 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 PyYAML Running setup.py clean for PyYAML Failed to build pynetbox PyYAML
Fixed by doing pip install wheel
pip install wheel
Thanks for the input, good eye!
Can you make a PR? Just need to fork this in the github repo, add wheel to the requirements.txt file, push to your fork, then open PR in the Github UI.
requirements.txt
Missing wheel package in requirements.
Fixed by doing
pip install wheel