Jump to content

Recommended Posts

Hi everyone,

ever since the xrpl-py demo on Twitch last week, I've been trying to get it to work in a jupyter notebook, but to no avail.
I've tried following along with Mayukha Vadari, who did the demo, and have also tried the 'get started using Python' guide on xrpl.org

Unfortunately, the issue comes right after succesfully using pip to install the xrpl-py library, when trying to use the xrpl module:
 

Quote

from xrpl.clients import JsonRpcClient

JSON_RPC_URL = "https://s.altnet.rippletest.net:51234/"
client = JsonRpcClient(JSON_RPC_CLIENT)
print(client)

gives me

Quote

ModuleNotFoundError: No module named 'xrpl'


I cannot find any documentation on this specific issue on readthedocs.io ... Anyone here who might help me get started?

Edit: Nevermind, finally got it to work. Problem lied in not having a correct shortcut to the directory where I had jupyter installed. So the map that I had my jupyter link in it, didn't have a __init__.py file, and therefore couldn't find the module

Edited by Gambaard
Link to post
Share on other sites
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.