Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error logs using pip install #134

Closed
idubnori opened this issue Apr 18, 2020 · 3 comments
Closed

Installation error logs using pip install #134

idubnori opened this issue Apr 18, 2020 · 3 comments
Assignees
Labels

Comments

@idubnori
Copy link

Got some errors in the installation log.
Is there any wrongs on my environment or configration?

  • Distribution: armbian
  • Alias: python='python3' pip='pip3'
pi@nanopineo2:~# pip install tcconfig
Collecting tcconfig
  Using cached https://files.pythonhosted.org/packages/93/1d/98591fdd40ea5aae51985e9fec1fc7857baad6b185118d785997877404b8/tcconfig-0.25.2-py3-none-any.whl
Collecting pyparsing<3,>=2.0.3 (from tcconfig)
  Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting subprocrunner<2,>=1.1.0 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/e1/9d/47fe8a29fcc4e16995a896df00454425e28c460f84dda6158ce7f61c0805/subprocrunner-1.2.1-py3-none-any.whl
Collecting pyroute2<1,>=0.5.7 (from tcconfig)
  Using cached https://files.pythonhosted.org/packages/6d/59/27f6ba1a87bbc5abcd860513edc0f72f4dddd3d5417171af4187f1d8ae6e/pyroute2-0.5.12.tar.gz
Collecting typepy<2,>=0.6.6 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/55/f3/586331005a8026302d1777474b9d4cb7a187e4fcc30d7057c9aaf8266175/typepy-1.1.0-py3-none-any.whl
Collecting DataProperty<2,>=0.46.3 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/ea/4c/ed4002e6c463c84752e637a48aa8626324c9da119465c7836924ccfe727c/DataProperty-0.48.1-py3-none-any.whl
Collecting docker<5,>=1.9.0 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/58/74/379a9d30b1620def158c40b88c43e01c1936a287ebb97afab0699c601c57/docker-4.2.0-py2.py3-none-any.whl (143kB)
    100% |????????????????????????????????| 153kB 1.4MB/s
Collecting SimpleSQLite<2,>=1.0.0 (from tcconfig)
  Using cached https://files.pythonhosted.org/packages/bc/b3/f63e77bc5a426713ab8e92aeb26634e4dd0653698e87e8e8ff02ec3f5231/SimpleSQLite-1.1.1-py3-none-any.whl
Collecting voluptuous<1 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/24/3b/fe531688c0d9e057fccc0bc9430c0a3d4b90e0d2f015326e659c2944e328/voluptuous-0.11.7.tar.gz (45kB)
    100% |????????????????????????????????| 51kB 1.9MB/s
Requirement already satisfied: setuptools>=38.3.0 in /usr/local/lib/python3.7/dist-packages (from tcconfig) (46.1.3)
Collecting humanreadable<1,>=0.1.0 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/c2/0c/bd7824b5b543eeccd62a3a391a01151b8a145be016ad8ac23eef1e1ed8a3/humanreadable-0.1.0-py3-none-any.whl
Collecting simplejson<4,>=3.8.1 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/98/87/a7b98aa9256c8843f92878966dc3d8d914c14aad97e2c5ce4798d5743e07/simplejson-3.17.0.tar.gz (83kB)
    100% |????????????????????????????????| 92kB 2.0MB/s
Collecting path.py<13 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/a5/0d/4caee829b04e3113b7069fa52063bce5c78e374e05850aa893549e917a1a/path.py-12.4.0-py3-none-any.whl
Collecting msgfy<1,>=0.0.6 (from tcconfig)
  Downloading https://files.pythonhosted.org/packages/af/a1/2c98ebd88ee88d300a3eedd41e5b8c2781bf7d39ecf56abf91dd93721711/msgfy-0.0.7-py2.py3-none-any.whl
Collecting loguru<1,>=0.4.1 (from tcconfig)
  Using cached https://files.pythonhosted.org/packages/b2/f4/2c8b94025c6e30bdb331c7ee628dc152771845aedff35f0365c2a4dacd42/loguru-0.4.1-py3-none-any.whl
Collecting mbstrdecoder<2,>=1.0.0 (from subprocrunner<2,>=1.1.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/f1/57/3bb55beafe0a5e9883621f01a560d16bcef6d4f844dc2dd40caa0a8d9182/mbstrdecoder-1.0.0-py3-none-any.whl
Collecting requests!=2.18.0,>=2.14.2 (from docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB)
    100% |????????????????????????????????| 61kB 1.9MB/s
Collecting websocket-client>=0.32.0 (from docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/4c/5f/f61b420143ed1c8dc69f9eaec5ff1ac36109d52c80de49d66e0c36c3dfdf/websocket_client-0.57.0-py2.py3-none-any.whl (200kB)
    100% |????????????????????????????????| 204kB 1.1MB/s
Collecting six>=1.4.0 (from docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting tabledata<2,>=1.1.1 (from SimpleSQLite<2,>=1.0.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/aa/e9/cd98b8f73046540babc0a94080cc23fced3aed7707a50d00a67c32de454d/tabledata-1.1.2-py3-none-any.whl
Collecting sqliteschema<2,>=1.0.1 (from SimpleSQLite<2,>=1.0.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/00/e4/6a72614e477a62a3a7bc7f36e24475f25b7615a7289da67b6dcf4a73cebe/sqliteschema-1.0.1-py3-none-any.whl
Collecting pathvalidate<3 (from SimpleSQLite<2,>=1.0.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/d2/fd/daa30ffd00f752870afc740510f83a0603f4b134b375a4d72a406e235e87/pathvalidate-2.2.2-py3-none-any.whl
Collecting path<13.2 (from path.py<13->tcconfig)
  Downloading https://files.pythonhosted.org/packages/4d/24/5827e075036b5bb6b538f71bf39574d4a8024c5df51206cb9d6739e24d94/path-13.1.0-py3-none-any.whl
Collecting chardet<4,>=3.0.4 (from mbstrdecoder<2,>=1.0.0->subprocrunner<2,>=1.1.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |????????????????????????????????| 143kB 1.6MB/s
Collecting idna<3,>=2.5 (from requests!=2.18.0,>=2.14.2->docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB)
    100% |????????????????????????????????| 61kB 1.9MB/s
Collecting certifi>=2017.4.17 (from requests!=2.18.0,>=2.14.2->docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl (157kB)
    100% |????????????????????????????????| 163kB 1.4MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests!=2.18.0,>=2.14.2->docker<5,>=1.9.0->tcconfig)
  Downloading https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (126kB)
    100% |????????????????????????????????| 133kB 1.7MB/s
Collecting importlib-metadata>=0.5; python_version < "3.8" (from path<13.2->path.py<13->tcconfig)
  Downloading https://files.pythonhosted.org/packages/ad/e4/891bfcaf868ccabc619942f27940c77a8a4b45fd8367098955bb7e152fb1/importlib_metadata-1.6.0-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata>=0.5; python_version < "3.8"->path<13.2->path.py<13->tcconfig)
  Downloading https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
Building wheels for collected packages: pyroute2, voluptuous, simplejson
  Running setup.py bdist_wheel for pyroute2 ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bf73f5lv/pyroute2/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-esdhg53n --python-tag cp37:
  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 pyroute2
  Running setup.py clean for pyroute2
  Running setup.py bdist_wheel for voluptuous ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bf73f5lv/voluptuous/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-jng3781y --python-tag cp37:
  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 voluptuous
  Running setup.py clean for voluptuous
  Running setup.py bdist_wheel for simplejson ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bf73f5lv/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/pip-wheel-p2ziiqeb --python-tag cp37:
  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
Failed to build pyroute2 voluptuous simplejson
Installing collected packages: pyparsing, chardet, mbstrdecoder, subprocrunner, pyroute2, typepy, DataProperty, idna, certifi, urllib3, requests, six, websocket-client, docker, tabledata, sqliteschema, pathvalidate, SimpleSQLite, voluptuous, humanreadable, simplejson, zipp, importlib-metadata, path, path.py, msgfy, loguru, tcconfig
  Running setup.py install for pyroute2 ... done
  Running setup.py install for voluptuous ... done
  Running setup.py install for simplejson ... done
Successfully installed DataProperty-0.48.1 SimpleSQLite-1.1.1 certifi-2020.4.5.1 chardet-3.0.4 docker-4.2.0 humanreadable-0.1.0 idna-2.9 importlib-metadata-1.6.0 loguru-0.4.1 mbstrdecoder-1.0.0 msgfy-0.0.7 path-13.1.0 path.py-12.4.0 pathvalidate-2.2.2 pyparsing-2.4.7 pyroute2-0.5.12 requests-2.23.0 simplejson-3.17.0 six-1.14.0 sqliteschema-1.0.1 subprocrunner-1.2.1 tabledata-1.1.2 tcconfig-0.25.2 typepy-1.1.0 urllib3-1.25.9 voluptuous-0.11.7 websocket-client-0.57.0 zipp-3.1.0
@thombashi thombashi self-assigned this Apr 19, 2020
@thombashi
Copy link
Owner

@idubnori
Thank you for your report.

According to the error messages, your environment lacks wheel package.
Please try to install wheel package with pip and reinstall tcconfig package.

@idubnori
Copy link
Author

idubnori commented Apr 19, 2020

Thank you for the help, worked well. also appreciate this nice cli tool.

For SBC(e.g. raspberry pi) use, nice to have the followings, due to want to minimize resources and footprint.

  • Provide the deb file for armhf / arm64 architecture
  • Separate container functions

@thombashi
Copy link
Owner

Provide the deb file for armhf / arm64 architecture

This is difficult for now.
Build environments for arm architectures are still in alpha stage at Travis CI:
https://docs.travis-ci.com/user/multi-cpu-architectures/
Other CI services also similar state.

Separate container functions

If that means a change to docker package from a mandatory to an optional dependency, I have not to plan to do that.
A certain number of people use that feature so, changing packaging may cause trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants