Closed lendlycagata closed 9 months ago
Have you downloaded the package with pip install xrpl-py
in the command-line?
yes ,. docs said like this pip install xrpl-py I'm switching from py to JS - now what I did was use the xrpl ledger tutorial for JS for testnet ,. I was able to use the wallet however it's not showing the fund, still trying to figure this out.
I was hoping they can fix the python 3.8 versioin and higher is good right? coz I tried 3.7 still getting same error. Try to double check the docs if might need an update
Python 3.7 and 3.8 are both supported, as are all subsequent Python versions. The code works for me locally with the latest version of xrpl-py (v2.5).
That error usually occurs because the package hasn't been installed. Perhaps it was installed in the wrong location or something.
Closing as I believe @mvadari is correct about the root cause. This stack overflow may help verify whether it is intalled: https://stackoverflow.com/questions/1051254/check-if-python-package-is-installed
from xrpl.clients import JsonRpcClient JSON_RPC_URL = "https://s2.ripple.com:51234/" client = JsonRpcClient(JSON_RPC_URL)