-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 support #11
Comments
Thanks for reporting this issue! |
As far as I understand, this happens due to non-relative from . import mapping |
@romanz How do I do that? |
Sorry for the inconvenience, I will try to prepare a PR to python-trezor to add support for Python 3. |
@romanz Please give it a try and tell me back, branch "python3" might work for you already (basic functionality tested on Python 3.4 against emulator, I don't have device with myself). |
Thanks a lot for the fixes! |
@ywecur
EDIT: this may not work - see below: #11 (comment) |
@ywecur ? |
Somehow, the latest
However, |
@prusnak Could you please take a look on this issue? |
What version of Cython do you use? I had similar issue and fixed it by installing older Cython version. I did not dig into the problem more as I needed to focus to another thing, but if this will fix problem for you, we should stick the version and report it to cython. Edit: nevermind, I see its installation from pip where cython is not required anymore. |
setuptools is usually the culprit. make sure you have at least version 19. edit: setuptools>=19.0 added to install_requires |
Thanks! I will retry the installation :) |
It works!
Thanks :) |
Now the installation should be even simpler:
|
hello, I'm having the same issue as @romanz when trying to install hidapi with python3: |
Old setuptools, upgrade to latest
|
|
@prusnak I am running the latest setuptools, see above |
Do you have Cython installed? Preferably also latest |
@prusnak I have Cython-0.25.2, installed with pip3 |
$ trezor-agent ywecur@wunderkinder.io
I then tried
$ pip install mapping
which returned:Collecting mapping Could not find a version that satisfies the requirement mapping (from versions: ) No matching distribution found for mapping
Mac OS X El Capitan 10.11.4
Trezor on the latest firmware
The text was updated successfully, but these errors were encountered: