-
Notifications
You must be signed in to change notification settings - Fork 9
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
cannot import name 'encode_single' from 'eth_abi' #12
Comments
My OS is Fedora, however I have also just installed an Ubuntu machine to test with - same error Probably related to ethereum/web3.py#2621 |
I did some work getting this to run natively (no appimage) in a modern Linux system (Fedora 39). To start with you will need python 3.11 (and Fedora39 ships with 3.12, so you will need to do this all from a venv Before you start, ensure you have the python development package installed
From within this venv you need to pull in all the requirements. (note: the documentation is wrong here until this MR is merged #4)
If you get any messages like Once the requirements are done, you still have 2 things to do
First, from within your 3.11 venv, make sure you have the pip module parsimonious
Finally you will need to edit a file in your site-packages dir ....
Change the import line from
Now everything should work PS: I still get |
As I mentioned in my previous comment I was getting
When removing the card or when connecting the reader without the card entered. I also get this same message now I have the packages installed locally in my Fedora 39 On a hunch I tried to recreate the issue using a different reader - a Identiv SCR 3310 v2.0 - SCM USB SmartCard Reader - this works Perfectly So in summary, the reader that SatoChip ship seems to have an issue when removing/re-inserting the card when running on a Linux OS - changing the reader to a SCR 3310 solves the issue and cards can be removed and re-inserted again and again with now Tracebacks. So it looks like an issue with the current Linux driver for SatoChip Reader (Alcor Micro Corp. AU9540 Smartcard Reader) I would be happy to close this ticket as it seems to be an upstream issue |
Thanks for the detailed feedback! |
When trying to run python3 satochip_bridge/SatochipBridge.py I get the following (the requirements all installed ok)
The text was updated successfully, but these errors were encountered: