snet-cli icon indicating copy to clipboard operation
snet-cli copied to clipboard

Sdk doesn't work after installation: ModuleNotFoundError: No module named 'snet_sdk'

Open vsbogd opened this issue 5 years ago • 6 comments

Original issue description: https://github.com/singnet/dev-portal/issues/126

vsbogd avatar Mar 11 '20 12:03 vsbogd

I too am having some issues with snet sdk but first it only supports Python >3.7 right? also it's supposed to be from snet import sdk with the class sdk.SnetSDK rather than from snet_sdk import Snet which is an abandoned one from the singnet/snet-sdk-python

smigad avatar Mar 11 '20 16:03 smigad

https://github.com/singnet/snet-cli Documentation is up to date here. I will make the changes here too.

keshrisohit avatar Mar 11 '20 16:03 keshrisohit

@joejnke FYI

vsbogd avatar Mar 11 '20 16:03 vsbogd

Thank you, but still I get this error: AttributeError: module 'snet' has no attribute 'sdk'

joejnke avatar Mar 12 '20 08:03 joejnke

@joejnke Can you please use pip3 install snet.sdk ALso you need to be on on python version >=3.7 .

keshrisohit avatar Mar 12 '20 10:03 keshrisohit

Thank you. Upgrading to python3.7 solved it

joejnke avatar Mar 12 '20 14:03 joejnke