obsidiansystems / ledger-app-nervos

MIT License
10 stars 10 forks source link

installing bolos python loader non-nixos packages #219

Open ApolloUnicorn opened 2 years ago

ApolloUnicorn commented 2 years ago

Using the instructions provided here, many packages have newer versions that are incompatible when installing from MacOS.

From within the activated virtualenv, pip3 list should contain exactly this set in order to install the app on Mac. This has not been tested/confirmed on non-Nix Linux.

Package            Version
------------------ ------------
certifi            2021.10.8
charset-normalizer 2.0.9
ECPy               1.2.5
future             0.18.2
hidapi             0.11.0.post2
idna               3.3
ledgerblue         0.1.35
Pillow             8.4.0
pip                21.3.1
protobuf           3.19.1
pycryptodomex      3.12.0
python-u2flib-host 3.0.3
requests           2.26.0
setuptools         58.3.0
urllib3            1.26.7
websocket-client   1.2.3
wheel              0.37.0
ApolloUnicorn commented 2 years ago

Also worth noting that I had to downgrade to virtualenv 20.4.2 before this step

Ericson2314 commented 2 years ago

Talking to @ApolloUnicorn, we probably want to centralize this more in ledger-platform (as we do for the rust apps) and maybe also switch to ledgerctl if it supports the firmware we are on.