error: invalid command 'bdist_wheel'
Solution
Install the wheel Python package to solve the problem$ pip3 install wheel Collecting wheel Downloading https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl Installing collected packages: wheel Successfully installed wheel-0.34.2
Why
The Python package that you are installing needs to runpython3 setup.py bdist_wheel
When the wheel package is missing, this is what you see
$ pip3 install --user sqlitebiter Collecting sqlitebiter Using cached https://files.pythonhosted.org/packages/e3/6e/5fa8df113446e25455ccda73d6b9abccee60b754bf01b2c6285d108750dc/sqlitebiter-0.31.0-py3-none-any.whl Collecting pathvalidate<3,>=2.1.0 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/08/af/0d99785427f6e36f958bf05dc7e058ec1031ce7b478216d818bf61bac657/pathvalidate-2.2.1-py3-none-any.whl Collecting loguru<1,>=0.4.1 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/b2/f4/2c8b94025c6e30bdb331c7ee628dc152771845aedff35f0365c2a4dacd42/loguru-0.4.1-py3-none-any.whl (54kB) 100% |████████████████████████████████| 61kB 2.1MB/s Collecting colorama<1,>=0.3.7 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl Collecting appconfigpy<2,>=0.4.0 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/f5/fa/ac0ba73728948436e7dae3e235b0fc06f4db836038537a58dd207f6b3dcf/appconfigpy-1.0.1-py3-none-any.whl Collecting msgfy<1,>=0.0.6 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/af/a1/2c98ebd88ee88d300a3eedd41e5b8c2781bf7d39ecf56abf91dd93721711/msgfy-0.0.7-py2.py3-none-any.whl Collecting setuptools>=38.3.0 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/1e/32/69e6ce8502a12af0cdcbb8de91f1cbafd4533f84d8fe17bf712f6200f21b/setuptools-46.1.1-py3-none-any.whl (582kB) 100% |████████████████████████████████| 583kB 1.7MB/s Collecting pytablereader[excel,md,sqlite,url]<2,>=0.28.0 (from sqlitebiter) Using cached https://files.pythonhosted.org/packages/d4/36/3c986cf8d2f6c8e1372b11e10abb02cdb0a25549b8569c01bf10eafe9f5b/pytablereader-0.28.0-py3-none-any.whl Collecting nbformat<6,>=4.4.0 (from sqlitebiter) Using cached https://files.pythonhosted.org/packages/ac/eb/de575b7a64e7ab8d8c95e4c180ccc36deda3f1379186c4ee7adf6c2f1586/nbformat-5.0.4-py3-none-any.whl Collecting simplejson<4,>=3.8.1 (from sqlitebiter) Using cached https://files.pythonhosted.org/packages/98/87/a7b98aa9256c8843f92878966dc3d8d914c14aad97e2c5ce4798d5743e07/simplejson-3.17.0.tar.gz Collecting path.py<13 (from sqlitebiter) Using cached https://files.pythonhosted.org/packages/a5/0d/4caee829b04e3113b7069fa52063bce5c78e374e05850aa893549e917a1a/path.py-12.4.0-py3-none-any.whl Collecting typepy<2,>=0.6.6 (from sqlitebiter) Using cached https://files.pythonhosted.org/packages/54/e8/e11b753cced190dd2e3decc1697a5fed3325e94f4e9c4ef20ff7936948ec/typepy-0.6.6-py2.py3-none-any.whl Collecting SimpleSQLite<2,>=1.0.1 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/76/3f/0f928c322df10a014750ad04f503b515b1bc7d3d339c478462cb25f59384/SimpleSQLite-1.0.1-py3-none-any.whl Collecting retryrequests<1,>=0.0.2 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/9c/0e/a61a2c47684922c4d0878c323803d332f8a2509ac8490e25b0e19448b026/retryrequests-0.0.3-py2.py3-none-any.whl Collecting click<8,>=6.2 (from sqlitebiter) Downloading https://files.pythonhosted.org/packages/dd/c0/4d8f43a9b16e289f36478422031b8a63b54b6ac3b1ba605d602f10dd54d6/click-7.1.1-py2.py3-none-any.whl (82kB) 100% |████████████████████████████████| 92kB 3.6MB/s Collecting aiocontextvars>=0.2.0; python_version < "3.7" (from loguru<1,>=0.4.1->sqlitebiter) Downloading https://files.pythonhosted.org/packages/db/c1/7a723e8d988de0a2e623927396e54b6831b68cb80dce468c945b849a9385/aiocontextvars-0.2.2-py2.py3-none-any.whl Collecting jsonschema<4,>=2.5.1 (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 2.8MB/s Collecting beautifulsoup4<5,>=4.4.1 (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/cb/a1/c698cf319e9cfed6b17376281bd0efc6bfc8465698f54170ef60a485ab5d/beautifulsoup4-4.8.2-py3-none-any.whl (106kB) 100% |████████████████████████████████| 112kB 3.5MB/s Collecting mbstrdecoder<2,>=0.8.3 (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/d1/bb/06a26dcda7404b4387e72317961f50cbadcd91d5d12eb27b4701313cff6f/mbstrdecoder-0.8.4-py2.py3-none-any.whl Collecting tabledata<2,>=0.10.3 (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/56/8e/6a1cd2c4f0004d3fb658dc1bd6597e9b583011935f5aee4b96318ef34290/tabledata-1.1.0-py3-none-any.whl Collecting DataProperty<2,>=0.46.3 (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/a7/db/251fdaeabd3bdfcff69e6558a0c8986ba07e2cee7099d962930e67944d35/DataProperty-0.46.4-py2.py3-none-any.whl Collecting excelrd>=2.0.2; extra == "excel" (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/78/3e/d7be8ffa1a2726c65e379b5b485442546e3654455a3ff701f11c45a47a91/excelrd-2.0.3-py3-none-any.whl (105kB) 100% |████████████████████████████████| 112kB 4.2MB/s Collecting Markdown<3,>=2.6.6; extra == "md" (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB) 100% |████████████████████████████████| 81kB 3.7MB/s Collecting requests<3,>=2.18.4; extra == "url" (from pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB) 100% |████████████████████████████████| 61kB 3.0MB/s Collecting ipython-genutils (from nbformat<6,>=4.4.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl Collecting jupyter-core (from nbformat<6,>=4.4.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/63/0d/df2d17cdf389cea83e2efa9a4d32f7d527ba78667e0153a8e676e957b2f7/jupyter_core-4.6.3-py2.py3-none-any.whl (83kB) 100% |████████████████████████████████| 92kB 3.6MB/s Collecting traitlets>=4.1 (from nbformat<6,>=4.4.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/ca/ab/872a23e29cec3cf2594af7e857f18b687ad21039c1f9b922fac5b9b142d5/traitlets-4.3.3-py2.py3-none-any.whl (75kB) 100% |████████████████████████████████| 81kB 3.7MB/s Collecting path<13.2 (from path.py<13->sqlitebiter) Using cached https://files.pythonhosted.org/packages/4d/24/5827e075036b5bb6b538f71bf39574d4a8024c5df51206cb9d6739e24d94/path-13.1.0-py3-none-any.whl Collecting six<2,>=1.10.0 (from typepy<2,>=0.6.6->sqlitebiter) Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting sqliteschema<2,>=0.17.4 (from SimpleSQLite<2,>=1.0.1->sqlitebiter) Downloading https://files.pythonhosted.org/packages/00/e4/6a72614e477a62a3a7bc7f36e24475f25b7615a7289da67b6dcf4a73cebe/sqliteschema-1.0.1-py3-none-any.whl Collecting contextvars==2.4; python_version < "3.7" (from aiocontextvars>=0.2.0; python_version < "3.7"->loguru<1,>=0.4.1->sqlitebiter) Downloading https://files.pythonhosted.org/packages/83/96/55b82d9f13763be9d672622e1b8106c85acb83edd7cc2fa5bc67cd9877e9/contextvars-2.4.tar.gz Collecting importlib-metadata; python_version < "3.8" (from jsonschema<4,>=2.5.1->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/9f/0d/cbca4d0bbc5671822a59f270e4ce3f2195f8a899c97d0d5abb81b191efb5/pyrsistent-0.16.0.tar.gz (108kB) 100% |████████████████████████████████| 112kB 4.0MB/s Collecting soupsieve>=1.2 (from beautifulsoup4<5,>=4.4.1->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/05/cf/ea245e52f55823f19992447b008bcbb7f78efc5960d77f6c34b5b45b36dd/soupsieve-2.0-py2.py3-none-any.whl Collecting chardet<4,>=3.0.4 (from mbstrdecoder<2,>=0.8.3->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) 100% |████████████████████████████████| 143kB 3.6MB/s Collecting idna<3,>=2.5 (from requests<3,>=2.18.4; extra == "url"->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB) 100% |████████████████████████████████| 61kB 3.0MB/s Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3,>=2.18.4; extra == "url"->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl (125kB) 100% |████████████████████████████████| 133kB 3.9MB/s Collecting certifi>=2017.4.17 (from requests<3,>=2.18.4; extra == "url"->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB) 100% |████████████████████████████████| 163kB 3.7MB/s Collecting decorator (from traitlets>=4.1->nbformat<6,>=4.4.0->sqlitebiter) Downloading https://files.pythonhosted.org/packages/ed/1b/72a1821152d07cf1d8b6fce298aeb06a7eb90f4d6d41acec9861e7cc6df0/decorator-4.4.2-py2.py3-none-any.whl Collecting immutables>=0.9 (from contextvars==2.4; python_version < "3.7"->aiocontextvars>=0.2.0; python_version < "3.7"->loguru<1,>=0.4.1->sqlitebiter) Downloading https://files.pythonhosted.org/packages/62/cc/3961b18a1a689a7e3232d923a8546cb901c49b4a33be6987c03a89175c4f/immutables-0.11-cp36-cp36m-manylinux1_x86_64.whl (92kB) 100% |████████████████████████████████| 102kB 4.5MB/s Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->jsonschema<4,>=2.5.1->pytablereader[excel,md,sqlite,url]<2,>=0.28.0->sqlitebiter) Using cached https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl Building wheels for collected packages: simplejson, contextvars, pyrsistent Running setup.py bdist_wheel for simplejson ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-h9yib_fx/simplejson/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/tmp7b6yj0eypip-wheel- --python-tag cp36: 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 simplejson Running setup.py clean for simplejson Running setup.py bdist_wheel for contextvars ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-h9yib_fx/contextvars/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/tmpzbq6a04jpip-wheel- --python-tag cp36: 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 contextvars Running setup.py clean for contextvars Running setup.py bdist_wheel for pyrsistent ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-h9yib_fx/pyrsistent/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/tmpunvvup5kpip-wheel- --python-tag cp36: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'license_files' warnings.warn(msg) 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 pyrsistent Running setup.py clean for pyrsistent Failed to build simplejson contextvars pyrsistent Installing collected packages: pathvalidate, immutables, contextvars, aiocontextvars, loguru, colorama, appconfigpy, setuptools, msgfy, zipp, importlib-metadata, attrs, six, pyrsistent, jsonschema, soupsieve, beautifulsoup4, path, path.py, chardet, mbstrdecoder, typepy, DataProperty, tabledata, excelrd, Markdown, sqliteschema, SimpleSQLite, idna, urllib3, certifi, requests, retryrequests, pytablereader, ipython-genutils, decorator, traitlets, jupyter-core, nbformat, simplejson, click, sqlitebiter Running setup.py install for contextvars ... done Running setup.py install for pyrsistent ... done Running setup.py install for simplejson ... done Successfully installed DataProperty-0.46.4 Markdown-2.6.11 SimpleSQLite-1.0.1 aiocontextvars-0.2.2 appconfigpy-1.0.1 attrs-19.3.0 beautifulsoup4-4.8.2 certifi-2019.11.28 chardet-3.0.4 click-7.1.1 colorama-0.4.3 contextvars-2.4 decorator-4.4.2 excelrd-2.0.3 idna-2.9 immutables-0.11 importlib-metadata-1.5.0 ipython-genutils-0.2.0 jsonschema-3.2.0 jupyter-core-4.6.3 loguru-0.4.1 mbstrdecoder-0.8.4 msgfy-0.0.7 nbformat-5.0.4 path-13.1.0 path.py-12.4.0 pathvalidate-2.2.1 pyrsistent-0.16.0 pytablereader-0.28.0 requests-2.23.0 retryrequests-0.0.3 setuptools-46.1.1 simplejson-3.17.0 six-1.14.0 soupsieve-2.0 sqlitebiter-0.31.0 sqliteschema-1.0.1 tabledata-1.1.0 traitlets-4.3.3 typepy-0.6.6 urllib3-1.25.8 zipp-3.1.0
No comments:
Post a Comment