miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
466 stars 110 forks source link

incompartibility with Python 3.8.1 #115

Open addius8 opened 4 years ago

addius8 commented 4 years ago

Am I stupid, or is it really a question of incomparability? Trying to install the onkyo-eiscp in Pycharm Professional in the interpreter settings will result in:

Collecting onkyo-eiscp
  Using cached https://files.pythonhosted.org/packages/05/7b/a25440e34d015237d1f68b8e353f06eaa3a90c1fa77a6621e5e15e4388de/onkyo-eiscp-1.2.7.tar.gz
Requirement already satisfied: docopt>=0.4.1 in d:\github\pythonvirtualenviroments\py3.8.1\lib\site-packages (from onkyo-eiscp) (0.6.2)
Collecting netifaces (from onkyo-eiscp)
  Using cached https://files.pythonhosted.org/packages/0d/18/fd6e9c71a35b67a73160ec80a49da63d1eed2d2055054cc2995714949132/netifaces-0.10.9.tar.gz
Installing collected packages: netifaces, onkyo-eiscp
  Running setup.py install for netifaces: started
    Running setup.py install for netifaces: finished with status 'error'
    Complete output from command D:\Github\PythonVirtualEnviroments\Py3.8.1\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\A1\\AppData\\Local\\Temp\\pycharm-packaging\\netifaces\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\A1\AppData\Local\Temp\pip-record-h10a_ak_\install-record.txt --single-version-externally-managed --compile --install-headers D:\Github\PythonVirtualEnviroments\Py3.8.1\include\site\python3.8\netifaces:
    running install
    running build
    running build_ext
    building 'netifaces' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------

Command "D:\Github\PythonVirtualEnviroments\Py3.8.1\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\A1\\AppData\\Local\\Temp\\pycharm-packaging\\netifaces\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\A1\AppData\Local\Temp\pip-record-h10a_ak_\install-record.txt --single-version-externally-managed --compile --install-headers D:\Github\PythonVirtualEnviroments\Py3.8.1\include\site\python3.8\netifaces" failed with error code 1 in C:\Users\A1\AppData\Local\Temp\pycharm-packaging\netifaces\

In my 3.7.4 Enviroments its working without any problems.