Comments (4)
It could work. Can you be more specific about "it doesn't work" please?
from python-trezor.
I don't know about OP's problem but when I try to install on OSX 10.9.4 I get get following:
➜ python-trezor git:(master) ✗ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing dependency_links to trezor.egg-info/dependency_links.txt
writing requirements to trezor.egg-info/requires.txt
writing trezor.egg-info/PKG-INFO
writing top-level names to trezor.egg-info/top_level.txt
reading manifest file 'trezor.egg-info/SOURCES.txt'
writing manifest file 'trezor.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-intel/egg
running install_lib
running build_py
creating build/bdist.macosx-10.9-intel/egg
creating build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/__init__.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/ckd_public.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/client.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/debuglink.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/mapping.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/messages_pb2.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/protobuf_json.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
creating build/bdist.macosx-10.9-intel/egg/trezorlib/qt
copying build/lib/trezorlib/qt/__init__.py -> build/bdist.macosx-10.9-intel/egg/trezorlib/qt
copying build/lib/trezorlib/qt/pinmatrix.py -> build/bdist.macosx-10.9-intel/egg/trezorlib/qt
copying build/lib/trezorlib/tools.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport_fake.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport_hid.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport_pipe.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport_serial.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/transport_socket.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/tx_api.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
copying build/lib/trezorlib/types_pb2.py -> build/bdist.macosx-10.9-intel/egg/trezorlib
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/ckd_public.py to ckd_public.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/client.py to client.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/debuglink.py to debuglink.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/mapping.py to mapping.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/messages_pb2.py to messages_pb2.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/protobuf_json.py to protobuf_json.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/qt/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/qt/pinmatrix.py to pinmatrix.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/tools.py to tools.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport.py to transport.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport_fake.py to transport_fake.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport_hid.py to transport_hid.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport_pipe.py to transport_pipe.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport_serial.py to transport_serial.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/transport_socket.py to transport_socket.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/tx_api.py to tx_api.pyc
byte-compiling build/bdist.macosx-10.9-intel/egg/trezorlib/types_pb2.py to types_pb2.pyc
creating build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/PKG-INFO -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/not-zip-safe -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/requires.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
copying trezor.egg-info/top_level.txt -> build/bdist.macosx-10.9-intel/egg/EGG-INFO
creating 'dist/trezor-0.5.3-py2.7.egg' and adding 'build/bdist.macosx-10.9-intel/egg' to it
removing 'build/bdist.macosx-10.9-intel/egg' (and everything under it)
Processing trezor-0.5.3-py2.7.egg
removing '/Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/trezor-0.5.3-py2.7.egg' (and everything under it)
creating /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/trezor-0.5.3-py2.7.egg
Extracting trezor-0.5.3-py2.7.egg to /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages
trezor 0.5.3 is already the active version in easy-install.pth
Installed /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/trezor-0.5.3-py2.7.egg
Processing dependencies for trezor==0.5.3
Searching for hidapi==0.7.99-4
Best match: hidapi 0.7.99-4
Processing hidapi-0.7.99_4-py2.7-macosx-10.9-intel.egg
hidapi 0.7.99-4 is already the active version in easy-install.pth
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/hidapi-0.7.99_4-py2.7-macosx-10.9-intel.egg
Searching for mnemonic==0.8
Best match: mnemonic 0.8
Processing mnemonic-0.8-py2.7.egg
mnemonic 0.8 is already the active version in easy-install.pth
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/mnemonic-0.8-py2.7.egg
Searching for protobuf==2.6.0
Best match: protobuf 2.6.0
Processing protobuf-2.6.0-py2.7.egg
protobuf 2.6.0 is already the active version in easy-install.pth
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/protobuf-2.6.0-py2.7.egg
Searching for ecdsa==0.11
Best match: ecdsa 0.11
Adding ecdsa 0.11 to easy-install.pth file
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages
Searching for pbkdf2==1.3
Best match: pbkdf2 1.3
Processing pbkdf2-1.3-py2.7.egg
pbkdf2 1.3 is already the active version in easy-install.pth
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/pbkdf2-1.3-py2.7.egg
Searching for setuptools==2.2
Best match: setuptools 2.2
Adding setuptools 2.2 to easy-install.pth file
Installing easy_install-3.4 script to /Users/marnix/.virtualenvs/2.7.5/bin
Installing easy_install script to /Users/marnix/.virtualenvs/2.7.5/bin
Using /Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages
Finished processing dependencies for trezor==0.5.3
➜ python-trezor git:(master) ✗ sudo python helloworld.py
Traceback (most recent call last):
File "helloworld.py", line 33, in <module>
main()
File "helloworld.py", line 22, in main
print client.features
File "/Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/protobuf-2.6.0-py2.7.egg/google/protobuf/internal/python_message.py", line 738, in __str__
File "/Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/protobuf-2.6.0-py2.7.egg/google/protobuf/text_format.py", line 96, in MessageToString
File "/Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/protobuf-2.6.0-py2.7.egg/google/protobuf/text_format.py", line 119, in PrintMessage
File "/Users/marnix/.virtualenvs/2.7.5/lib/python2.7/site-packages/protobuf-2.6.0-py2.7.egg/google/protobuf/text_format.py", line 151, in PrintField
TypeError: _customPrintFieldValue() got an unexpected keyword argument 'pointy_brackets'
➜ python-trezor git:(master) ✗
Am I missing something?
I'd appreciate any pointers.
from python-trezor.
@Pan0ram1x can you please try again? I changed the dependency from protobuf to protobuf==2.5.0 as it seems the new version of protobuf is out.
from python-trezor.
@prusnak That did the trick. Thanks!
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.