-
Notifications
You must be signed in to change notification settings - Fork 310
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
ModuleNotFoundError: No module named 'solana.rpc.async_api' #443
Comments
Can you run |
same, my Name: solana |
@joshephan would you mind updating to the latest and see if that issue still occurs? |
I've been tried multiple times to upgrade version, it's not working for me. Even if I install newest version of python 3.12.4. So I continued to check the problem and found that in the Mac environment I use, the Python file is called via python3, so I set The issue of not being detected after a version upgrade has now been resolved. |
hey did you find out how to fix that error. |
Please see https://michaelhly.com/solana-py/core/api/ |
import asyncio
from solana.rpc.async_api import AsyncClient
async def main():
async with AsyncClient("https://api.devnet.solana.com") as client:
res = await client.is_connected()
print(res) # True
asyncio.run(main())
ModuleNotFoundError: No module named 'solana.rpc.async_api'
The text was updated successfully, but these errors were encountered: