Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install xrpl-py via python pip




xrpl-py - A complete Python library for interacting with the XRP ledger, it belongs to Classifiers:

- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10

When you know about this project and you want to new install xrpl-py to support your project or you get trouble as ModuleNotFoundError: No module named "xrpl-py" or ImportError: cannot import name "xrpl-py" in your project, let follow this tutorial to install xrpl-py



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_xrpl-py_env

- Active the virtual environment

test_xrpl-py_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_xrpl-py_env

- Active the virtual environment

source test_xrpl-py_env/bin/active


Step 2: OK, now, let flow below content to start the installation xrpl-py

To install xrpl-py on Windows(CMD):

py -m pip install xrpl-py

To install xrpl-py on Unix/macOs:

pip install xrpl-py


Step 3: If you want to install a specific xrpl-py version, add ==<xrpl-py version> to the end command line

Example:

pip install xrpl-py==1.0.0


Please see the version list below table:

VersionReleased dateCommand
xrpl-py 1.6.02022-06-02T21:49:26Windows:

py -m pip install xrpl-py==1.6.0

Unix/macOs:

pip install xrpl-py==1.6.0

xrpl-py 1.5.02022-04-25T19:07:28Windows:

py -m pip install xrpl-py==1.5.0

Unix/macOs:

pip install xrpl-py==1.5.0

xrpl-py 1.4.02022-03-09T10:04:09Windows:

py -m pip install xrpl-py==1.4.0

Unix/macOs:

pip install xrpl-py==1.4.0

xrpl-py 1.3.02021-12-18T00:17:27Windows:

py -m pip install xrpl-py==1.3.0

Unix/macOs:

pip install xrpl-py==1.3.0

xrpl-py 1.2.02021-11-09T22:31:21Windows:

py -m pip install xrpl-py==1.2.0

Unix/macOs:

pip install xrpl-py==1.2.0

xrpl-py 1.1.12021-07-03T01:36:28Windows:

py -m pip install xrpl-py==1.1.1

Unix/macOs:

pip install xrpl-py==1.1.1

xrpl-py 1.1.02021-06-16T19:27:43Windows:

py -m pip install xrpl-py==1.1.0

Unix/macOs:

pip install xrpl-py==1.1.0

xrpl-py 1.0.02021-03-31T18:50:25Windows:

py -m pip install xrpl-py==1.0.0

Unix/macOs:

pip install xrpl-py==1.0.0


Step 4: Otherwise, you can install xrpl-py from local archives:

Download the distribution file from xrpl-py-1.6.0.tar.gz or the specific xrpl-py version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_xrpl-py_downloaded_file>

On Unix/macOs:

pip install <path_to_xrpl-py_downloaded_file>


List distribution:


Project link:

- Homepage
- Documentation
- Repository