michaelhly / solana-py

Solana Python SDK

Home Page:https://michaelhly.github.io/solana-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'solana.publickey'

xiaohuangwritebug opened this issue · comments

code :from solana.publickey import PublicKey


ModuleNotFoundError: No module named 'solana.publickey'

I have tried reinstalling the env

This module hasn't existed for almost two years. Are there out of date docs somewhere that told you to use it?

What you want is in Solders https://kevinheavey.github.io/solders/tutorials/pubkeys.html