solathon
solathon copied to clipboard
TypeError: 'type' object is not subscriptable
Run: from solathon import Client, PublicKey
client = Client("https://api.devnet.solana.com") public_key = PublicKey("B3BhJ1nvPvEhx3hq3nfK8hx4WYcKZdbhavSobZEA44ai")
balance = client.get_balance(public_key) print(balance)
from solathon import Client, PublicKey
File "/Users/mac/opt/miniconda3/envs/py/lib/python3.8/site-packages/solathon/init.py", line 3, in
What's happened????
@gkyh What Python version are you using?
python3.8, yet,Virtual memory is too small
issue was fixed. feel free to reopen if you face the problem again