Installation of the AIGVE Library
Prerequisites
Python
It is recommended that you use Python 3.10+. You can download and install the latest Python from the python official website.
Package Manager
To install the aigve binaries, you will need to use pip.
pip
If you installed Python via Homebrew or the Python website, pip (or pip3) was installed with it.
To install pip, you can refer to the pip official website.
To upgrade your pip, you can use the following command:
Installation
The aigve library has been published at both PyPI and the project github repository.
Install from PyPI
To install aigve from PyPI, use the following command:
Install from Source Code
You can also install aigve from the source code, which has been released at the
project github repository.
You can download the public repository either from the project github webpage or via the following command:
After entering the downloaded source code directory, aigve can be installed with the following command:
If you don't have setuptools installed locally, please consider to first install setuptools:
Dependency Packages
The aigve library is developed based on several dependency packages.
Option 1 (recommended): Create a specific conda environment for AIGVE-Tool:
conda env create -f environment.yml
conda activate aigve
conda install pytorch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia
Option 2: Install dependency packages from requirement.txt:
The updated dependency requirement.txt of aigve
can be downloaded from the project github repository.
After downloading the requirement.txt, you can install all these dependencies with the pip command: