Comments (8)
using
pip install cython
to attempt to install cython, but now that command fails with
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c /tmp/pip-build-IcaCXz/cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-2.7/tmp/pip-build-IcaCXz/cython/Cython/Plex/Scanners.o
/tmp/pip-build-IcaCXz/cython/Cython/Plex/Scanners.c:8:22: fatal error: pyconfig.h: No such file or directory
#include "pyconfig.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-IcaCXz/cython/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Ewvpw1-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-IcaCXz/cython
Storing debug log for failure in /root/.pip/pip.log
from python-trezor.
Using
yum install python-devel
resolves this secondary issue and allows the
pip install cython
command to work.
python setup.py install
now results in
fatal error: libusb.h: No such file or directory
from python-trezor.
Running
yum install libusbx-devel
resolves this 3rd issue. Now I get this error:
/bin/ld: cannot find -ludev
collect2: error: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
from python-trezor.
yum install systemd-devel
resolves this latest snafu.
And with this ladies and gentlement, the install is complete. Issue resolved. Thank you googles!
from python-trezor.
Summary of fix:
yum install python-devel libusbx-devel systemd-devel
pip install cython
python setup.py install
from python-trezor.
:) thanks for this, helped me 👍
from python-trezor.
For what it's worth, you should not be using setup.py
directly nowadays, you should use pip install .
or pip install git+https://github.com/trezor/python-trezor.git
from python-trezor.
I have already installed Cython,but when carried out ‘make’,Wrong as follows:
PopdeMacBook-Pro:lib Young$ make
python setup.py build_ext --inplace
Traceback (most recent call last):
File "setup.py", line 13, in
from Cython.Distutils import build_ext
ImportError: No module named Cython.Distutils
make: *** [all] Error 1
from python-trezor.
Related Issues (20)
- Why is the v1 protocol forced for HID devices? HOT 2
- Update Error HOT 1
- ./trezorctl sign-tx non functional for most networks HOT 1
- tx_api.get_tx incompatible with current blockbook
- test sometimes fail with "Unsupported device" HOT 1
- Don't show PIN matrix for Trezor T when changing PIN
- Add a test case for segwit inputs/outputs with very high amounts
- zcash sapling not supported in 0.10.2 HOT 2
- Ethereum transaction fails to generate raw transaction HOT 2
- add monero_get_address to trezorctl HOT 1
- Travis CL seems to be failing 10.x PRs due to Py3.4 requirements HOT 1
- Use ChoiceType for set_passphrase_source HOT 1
- ethereum-sign-tx does not work
- Can't sign Ethereum transaction offline on v0.11.2 HOT 2
- Is there a way to restore seed words in scrambled order? HOT 7
- Trezor passphrase keyboard HOT 1
- wipe-device hangs after confirming on device HOT 3
- trezorlib ethereum.get_address returns None HOT 1
- MINIMUM_FIRMWARE_VERSION issues HOT 2
- python-trezor 0.11.3 released on PyPI but not tagged here HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-trezor.