Windows WSL#
The Ubuntu 20.04 version installed uses python3.8 but the SDK requires >= python3.9.
Python3.9#
To install python3.9 inside the WSL follow these instructions
sudo apt -y update && sudo apt -y upgrade && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt update && sudo apt-get -y install python3.9 libpython3.9 python3-pip
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
pip3 config set global.extra-index-url https://partners:[password]@repo.eyeontext.com/repository/eyeontext-pypi/simple
Then add the Path to the CLI that have been installed.
export PATH=$PATH:${HOME}/.local/bin
source ${HOME}/.bashrc
Python3.10#
To install python3.10 inside the WSL follow these instructions
sudo su
apt -y update && sudo apt -y upgrade && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt update && sudo apt-get -y install python3.10 libpython3.10 python3-pip python3.10-distutils patchelf python3.10-dev
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.10 get-pip.py
pip3 config set global.extra-index-url https://partners:[password]@repo.eyeontext.com/repository/eyeontext-pypi/simple
Then add the Path to the CLI that have been installed.
export PATH=$PATH:${HOME}/.local/bin
source ${HOME}/.bashrc
export EOT_NEXUS_USERNAME=partners
export EOT_NEXUS_PASSWORD=[password]
One you have the new python version installed you can follow the pip install instructions