Skip to content

Install PyLRE

Now that we've retrieved our Personal Access Token, let's install PyLRE. If you exported your User Token Name and Passcode in the previous step, you can run the following code directly (otherwise, enter those values where indicated).

Installing the latest PyLRE version

To ensure you're using the latest version of PyLRE, we recommend installing it in a fresh Python virtual environment. Alternatively, add --force-reinstall to your pip install command to ensure the latest version is installed.

For CPU targets (and NVIDIA Jetson Xavier and Orin):

pip install leip-pylre --extra-index-url=https://$REPOSITORY_TOKEN_NAME:$REPOSITORY_TOKEN_PASSCODE@repository.latentai.com/repository/pypi/simple

For x86-64 NVIDIA CUDA-enabled GPU targets:

pip install leip-pylre[cuda] --extra-index-url=https://$REPOSITORY_TOKEN_NAME:$REPOSITORY_TOKEN_PASSCODE@repository.latentai.com/repository/pypi/simple