Install fails missing dependency setuptools and wheel
hholst80 opened this issue · comments
Henrik Holst commented
Collecting msgpack_numpy
Downloading msgpack-numpy-0.3.9.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'setuptools'
Installing setuptools
is not enough:
Collecting msgpack-python>=0.3.0 (from msgpack_numpy)
Downloading msgpack-python-0.4.8.tar.gz (113kB)
100% |████████████████████████████████| 122kB 11.8MB/s
Building wheels for collected packages: msgpack-numpy, msgpack-python
Running setup.py bdist_wheel for msgpack-numpy ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-id62ap4x/msgpack-numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpjnte0kt3pip-wheel- --python-tag cp35:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
After installing also wheel
package it works.
Lev E. Givon commented
I'll post prebuilt wheels on pypi to address this; setuptools and wheel are not typically listed as package dependencies (and setuptools' bootstrap mechanism has been deprecated).
Lev E. Givon commented
Wheel uploaded.