Before I explain it directly from Electrum, I need to understand your issue.
I am having issues trying to install python-trezor into Debian 8. Obviously, its this "script" that allows Electrum and Trezor to work together. I know you are a busy and skilled man, so I appreciate you stopping by this thread and attempting to help me. Any suggestions because I am working on this every day but having little success?
One particular error line jumps out at me so I'll highlight it here (this is a snip from the entire code pasted below):
error: unknown file type '.pyx' (from 'hid.pyx')
Could it be this unknown file type is stopping the process? It appears so to me. How to correct or recognize it?
Here is a paste from an attempted install of python-trezor-0.7.4 just a few minutes ago.
XXX@debian-vm:~/Desktop$ sudo pip install trezor-0.7.4.tar.gz
Unpacking ./trezor-0.7.4.tar.gz
Running setup.py (path:/tmp/pip-QGO13R-build/setup.py) egg_info for package from file:///home/XXX/Desktop/trezor-0.7.4.tar.gz
Requirement already satisfied (use --upgrade to upgrade): ecdsa>=0.9 in /usr/local/lib/python2.7/dist-packages (from trezor==0.7.4)
Requirement already satisfied (use --upgrade to upgrade): protobuf>=2.6.1 in /usr/local/lib/python2.7/dist-packages (from trezor==0.7.4)
Requirement already satisfied (use --upgrade to upgrade): mnemonic>=0.8 in /usr/local/lib/python2.7/dist-packages (from trezor==0.7.4)
Downloading/unpacking hidapi>=0.7.99 (from trezor==0.7.4)
Downloading hidapi-0.7.99.post19.tar.gz
Running setup.py (path:/tmp/pip-build-OOIsty/hidapi/setup.py) egg_info for package hidapi
Downloading/unpacking setuptools>=19.0 (from trezor==0.7.4)
Downloading setuptools-28.3.0-py2.py3-none-any.whl (467kB): 467kB downloaded
Requirement already satisfied (use --upgrade to upgrade): pbkdf2 in /usr/local/lib/python2.7/dist-packages (from mnemonic>=0.8->trezor==0.7.4)
Installing collected packages: hidapi, setuptools, trezor
Running setup.py install for hidapi
building 'hid' extension
error: unknown file type '.pyx' (from 'hid.pyx')
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-OOIsty/hidapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-DKF9Ep-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'hid' extension
error: unknown file type '.pyx' (from 'hid.pyx')
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-OOIsty/hidapi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-DKF9Ep-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-OOIsty/hidapi
Storing debug log for failure in /root/.pip/pip.log