Skip to content

Installation

Oliver Zehentleitner edited this page Mar 17, 2024 · 15 revisions

In order to install our modules, please ensure that the requirements for your system are met.

Then install the whole UNICORN Binance Suite with python3 -m pip install unicorn-binance-suite --upgrade or simply replace "unicorn-binance-suite" with the module you explicitly want to install.

LINUX/UNIX

For apt (Ubuntu, Debian...)

sudo apt-get install python3-dev python3-distutils gcc make 
python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

For apt (Ubuntu, Debian...) on Raspberry PI:

sudo apt-get install libffi-dev libssl-dev pkg-config
sudo pip install --upgrade pip
sudo curl https://sh.rustup.rs -sSf | sh  # reboot afterwards!

For yum (CentOS, RHEL...)

sudo yum install python3-devel gcc make
python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

For dnf (Fedora...)

sudo dnf install python3-devel gcc make
python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

For zypper (openSUSE...)

sudo zypper in python3-devel gcc make
python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

For apt-cyg (Cygwin...)

apt-cyg install python3-devel gcc make
python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

For brew (macOS)

Do this to avoid the SSLCertVerificationError on Mac.

python3 -m pip install setuptools --upgrade
python3 -m pip install setuptools_rust --upgrade
python3 -m pip install wheel --upgrade

WINDOWS

Install "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

py -m pip install setuptools --upgrade
py -m pip install setuptools_rust --upgrade
py -m pip install wheel --upgrade