Method 1 (recommended): use a portable python environment
- Download an installation script :
- AlphAI-1.8.0_installer.sh (version 1.8.0 – 20 September 2023)
- AlphAI-1.7.22_installer.sh (version 1.7.22 – 25 August 2023)
- Open a terminal.
- Execute the command:
sh ~/Downloads/AlphAI-1.8.0_installer.sh
(orsh ~/Downloads/AlphAI-1.7.22_installer.sh
). The character ~ can be typed with option + n . This script will download and install AlphAI. - To launch the software, just execute the command:
alphai
Method 2 : manually configure a python 3.9 environment
- AlphAI is compiled to be used with python 3.9 (ideally python 3.9.13). If you already have a python 3.9 environment, you can use it! Otherwise, you can download python 3.9.13 at https://www.python.org/downloads/release/python-3913/. In the following instructions, it is assumed that the command
python3
is linked to a python 3.9 environment. - Download a version of AlphAI:
- AlphAI-1.8.0.zip (version 1.8.0 – 20 September 2023)
- AlphAI-1.7.22.zip (version 1.7.22 – 25 August 2023)
- Unzip the downloaded folder where you want to install the software.
- Open a terminal and move into the newly created folder using, for example, the command:
cd AlphAI-1.8.0
. - In the terminal window, execute the command:
pip3 install -r requirements-mac.txt
. This should install the missing python packages required to use AlphAI. - Finally, to launch the software, execute the command:
python3 Start_Alphai.pyc
Installation instructions for Linux
Unfortunately, the first method is not yet available to Linux users, therefore you must set up the python 3.9 environment manually (method 2). When installing python packages, use the file requirements-linux.txt instead of requirements-mac.txt. For versions older than 1.7.12, the file requirements-linux.txt does not exist. In this case, use requirements.txt instead.