$ conda create -n test1 python=3.8 y를 눌러서 더 진행하면 된다. $ conda activate test1 (test1) bstudent@DESKTOP-GPR5QBN:~/$ python --version -> Python 3.8.13
$ conda activate (base) bstudent@DESKTOP-GPR5QBN:$ python --version -> Python 3.9.12
새로운 환경이라 solana.py를 설치해줘야 하나보다 $ pip install solana $ python3 newAccount.py 로 실행을 시켜봤지만 똑같은 에러가 났다 ModuleNotFoundError: No module named 'solana.account' 버전을 더 낮춰야겠다 3.7버전으로
conda create -n solana python=3.7 로 해결하였다. conda activate solana (solana) bstudent@DESKTOP-GPR5QBN:~/blockchain_web3.py/project/solana$ python --version -> Python 3.7.13 pip install solana 다시 해줘야한다. 설치 안하면 ModuleNotFoundError: No module named 'solana' 이렇게 에러 python3 newAccount.py -> ModuleNotFoundError: No module named 'solana.account' 똑같은 에러 발생
python3 web3SolView.py
True {'jsonrpc': '2.0', 'result': {'context': {'apiVersion': '1.10.25', 'slot': 141107699}, 'value': 6700115000}, 'id': 1} 6700115000
는 잘 작동하는데.