Closed eamanu closed 5 years ago
Hello,
When I install bson via pip pip install bson I have the next fail:
pip install bson
Collecting bson Downloading https://files.pythonhosted.org/packages/b9/42/e823b5f13515e3af308fb6efcacff456fc59078ec0e9ac426e842d66c9cb/bson-0.5.8.tar.gz Collecting python-dateutil>=2.4.0 (from bson) Cache entry deserialization failed, entry ignored Cache entry deserialization failed, entry ignored Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB) 100% |████████████████████████████████| 235kB 783kB/s Requirement already satisfied: six>=1.9.0 in ./venv/lib/python3.5/site-packages (from bson) Building wheels for collected packages: bson Running setup.py bdist_wheel for bson ... error Complete output from command /home/eamanu/dev/itcrowd/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-4_yss7ft/bson/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/tmpymo3hm8qpip-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' ---------------------------------------- Failed building wheel for bson Running setup.py clean for bson Failed to build bson Installing collected packages: python-dateutil, bson Running setup.py install for bson ... done
python running python -c "import bson" all seems to be good
python -c "import bson"
Would you check this out? https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci
hmm yes this seems to be because the wheel is not up-to-date.
Thanks for the information! I will close the issue
Hello,
When I install bson via pip
pip install bson
I have the next fail:python running
python -c "import bson"
all seems to be good