deso-protocol / deso-protocol/deso-python-sdk

python3 deso_sdk.py failed (ModuleNotFoundError: No module named 'bip32')... but python deso_sdk.py works?

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
5
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

![Image](https://github.com/user-attachments/assets/1d48fa31-0e18-485b-b52c-5932a1184719)

This might just be a local issue on my machine. But as you can see in the image "python3" seems to be referring to another install of Python on my system (not the virtual environment), where as "python" is referring to the "myenv" python.

GOOD:
(myenv) C:\Users\cjacob\Documents\10X\focus>python deso_sdk.py
IS_TESTNET=True, NODE_URL=https://test.deso.org
ERROR: You must set SEED_PHRASE_OR_HEX to a seed that has DESO in it, or else nothing will work. Use https://test.deso.org or dev.openfund.com to create an account and get starter DESO since IS_TESTNET=True. Change IS_TESTNET to switch between mainnet and testnet. See the top of main for other arguments. Read through main to see a bunch of useful transaction types. Other useful links: docs.deso.org explorer-testnet.deso.com, wallet-testnet.deso.com, dev.openfund.com, beta.focus.xyz. Message https://t.me/deso_pos_discussion for more help.

vs

BAD:
(myenv) C:\Users\cjacob\Documents\10X\focus>python3 deso_sdk.py
Traceback (most recent call last):
File "C:\Users\cjacob\Documents\10X\focus\deso_sdk.py", line 11, in
from bip32 import BIP32, base58
ModuleNotFoundError: No module named 'bip32'

I figure this Issue post might help someone else in the same situation.

You're welcome to resolve this issue if you think this is just a local problem (I'm not an expert on Python / Python Virtual Environments)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.