michaelhly / solana-py

Solana Python SDK
https://michaelhly.github.io/solana-py
MIT License
979 stars 252 forks source link

Module Not Found Error #411

Closed BnThSurv closed 5 months ago

BnThSurv commented 5 months ago

Howdy,

I am receiving this error when running my code:

Traceback (most recent call last): File "C:\Users\bean\OneDrive\Desktop\SolWal3.py", line 75, in from solana.account import Account ModuleNotFoundError: No module named 'solana.account'

Any suggestions on how to get past this issue? I've tried updating pip and installing solana-py from the source code. I've also tried searching for the sub-module in the library, has the structure changed?

cheers!

michaelhly commented 5 months ago

Yes. Please use https://kevinheavey.github.io/solders/

BnThSurv commented 5 months ago

Awesome, thank you.

ujsyehao commented 5 months ago

how to use it, solders not have account

michaelhly commented 5 months ago

kevinheavey.github.io/solders

It does: https://kevinheavey.github.io/solders/api_reference/account.html