Install IOTA client for Python on Debian (deprecated)

Install IOTA client for Python on Debian (deprecated)

In this example we install the (outdated) IOTA client libs for Python on Debian 11 using the apt package libudev-dev and we need to install Rust. In the example below, we log in and create a new folder called iota. Then we change to the folder and start the installation:

apt install libudev-dev
mkdir iota
cd iota
git clone -b production https://github.com/iotaledger/iota.rs
curl https://sh.rustup.rs -sSf | sh

At this point, a new login to SSH must be made to load a new shell.

cd iota/iota.rs/bindings/python/native
pip3 install maturin
maturin develop
maturin build --manylinux off

We then receive the following example output:

Built wheel for abi3 Python ≥ 3.6 to /root/iota/iota.rs/bindings/python/native/target/wheels/iota_client_python-0.2.0a3-cp36-abi3-linux_x86_64.whl

We now install this whl file via pip

pip3 install /root/iota/iota.rs/bindings/python/native/target/wheels/iota_client_python-0.2.0a3-cp36-abi3-linux_x86_64.whl

This completes the installation

Leave a Reply

Your email address will not be published. Required fields are marked *