Installation issue: Missing `wheel`
ennosigaeus opened this issue · 0 comments
ennosigaeus commented
I just ran the installation command pip install git+https://github.com/i4ds/stixdcpy.git
inside my Windows WSL 2 shell (Ubuntu 20.04.6 LTS). It failed with the following error:
Building wheels for collected packages: stixdcpy
Building wheel for stixdcpy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/laszlo/stix_cfl_test/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-qtmqbrv7/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-qtmqbrv7/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-p3dz8dwv
cwd: /tmp/pip-req-build-qtmqbrv7/
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 stixdcpy
Running setup.py clean for stixdcpy
Failed to build stixdcpy
I solved the issue by installing wheel
with pip install wheel
and rerunning the installation command. Maybe you could add wheel
to the project requirements.