flyte / upnpclient

uPnP client library for Python 3.
MIT License
203 stars 37 forks source link

installation error with command: `pip3 install upnpclient` #28

Open igroman787 opened 4 years ago

igroman787 commented 4 years ago

When I try to install, an error comes out:

user-home{~}:pip3 install upnpclient
Collecting upnpclient
  Downloading https://files.pythonhosted.org/packages/d9/6d/a0ae6fe6886152e0fd3dee74dfa4f86eb497b88ccb611c410ea9b7065b6f/uPnPClient-0.0.8.tar.gz
Collecting requests (from upnpclient)
  Downloading https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
    100% |████████████████████████████████| 71kB 876kB/s 
Collecting six (from upnpclient)
  Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting netdisco (from upnpclient)
  Downloading https://files.pythonhosted.org/packages/0b/92/6c5de8c7607a3a9c39cf600a961328b2efa9ad93bd60be61f7816d4cafc9/netdisco-2.7.1-py3-none-any.whl (46kB)
    100% |████████████████████████████████| 51kB 2.6MB/s 
Collecting python-dateutil (from upnpclient)
  Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)
    100% |████████████████████████████████| 235kB 1.7MB/s 
Collecting lxml (from upnpclient)
  Downloading https://files.pythonhosted.org/packages/55/6f/c87dffdd88a54dd26a3a9fef1d14b6384a9933c455c54ce3ca7d64a84c88/lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl (5.5MB)
    100% |████████████████████████████████| 5.5MB 279kB/s 
Collecting certifi>=2017.4.17 (from requests->upnpclient)
  Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB)
    100% |████████████████████████████████| 163kB 2.7MB/s 
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->upnpclient)
  Downloading https://files.pythonhosted.org/packages/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (126kB)
    100% |████████████████████████████████| 133kB 2.5MB/s 
Collecting chardet<4,>=3.0.2 (from requests->upnpclient)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 2.9MB/s 
Collecting idna<3,>=2.5 (from requests->upnpclient)
  Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 3.1MB/s 
Collecting zeroconf>=0.27.1 (from netdisco->upnpclient)
  Downloading https://files.pythonhosted.org/packages/27/83/7ccfd01d25576a370640bf7fcf9d040f201b0309f945f668b07ffc171bf5/zeroconf-0.27.1-py3-none-any.whl (50kB)
    100% |████████████████████████████████| 51kB 9.5MB/s 
Collecting ifaddr (from zeroconf>=0.27.1->netdisco->upnpclient)
  Downloading https://files.pythonhosted.org/packages/92/0f/a577a724c03982b800232713874e805c8fcc14f4a2c3060902ed20b50da8/ifaddr-0.1.7-py2.py3-none-any.whl
Building wheels for collected packages: upnpclient
  Running setup.py bdist_wheel for upnpclient ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mxvi9dau/upnpclient/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/tmpwbfy_i_mpip-wheel- --python-tag cp36:
  WARNING: The wheel package is not available.
  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 upnpclient
  Running setup.py clean for upnpclient
Failed to build upnpclient
Installing collected packages: certifi, urllib3, chardet, idna, requests, six, ifaddr, zeroconf, netdisco, python-dateutil, lxml, upnpclient
  Running setup.py install for upnpclient ... done
Successfully installed certifi-2020.6.20 chardet-3.0.4 idna-2.9 ifaddr-0.1.7 lxml-4.5.1 netdisco-2.7.1 python-dateutil-2.8.1 requests-2.24.0 six-1.15.0 upnpclient-0.0.8 urllib3-1.25.9 zeroconf-0.27.1

image

flyte commented 3 years ago

I'll investigate why this is happening, but in the meantime, pip3 install wheel might fix this for you.