-
Notifications
You must be signed in to change notification settings - Fork 0
1. Installation
Version 4.0.0
To install I4.0 on your computer, do the following steps:
git clone https://github.com/TAO71-AI/I4.0.git
In case you are receiving an error when typing the "git" command, it is most likely that it is not installed on your computer. To install it, you have to follow these steps:
To install Git on Windows visit the following website: Git for Windows. Then select the version that is compatible with your computer (64-bit or 32-bit). If you are not sure which one to select, select the 32-bit one. When you download it, open the file and install Git.
To install Git on Mac OS you can use Homebrew. Make sure you have it installed on your computer first. If you don't have it installed you can download it at this link. Then open a terminal and type:
brew install git
Once finished you will have Git installed on your computer.
To install Git on Ubuntu, Debian or any other Debian-based distribution, type the following commands:
- Update your system:
sudo apt update
- Install Git:
sudo apt install git
Once these 2 commands have been executed, Git should be installed on your system.
To install Git on Fedora, type the following command:
sudo dnf install git
Once this command is executed, Git should be installed on your system.
To install Git on Arch Linux, type the following command:
sudo pacman -Sy git
Once this command is executed, Git should be installed on your system.
To install I4.0 python requirements on Windows, run the following command in a Powershell:
py -m pip install --upgrade -r requirements.txt
Before running the command, make sure you are in the "LibI4/Python_AI/" directory and you have pip installed. These are only the mandatory requirements. If you want, you can install the optional requirements by running the following command:
py -m pip install --upgrade -r requirements_recommended.txt
If you are experiencing this error, please install pip, to do this run the following command:
py -m ensurepip
Make sure you have Python installed.
To install the requirements in Mac OS, open a terminal and run the following command:
pip install --upgrade -r requirements.txt
If the command "pip" doesn't exists, try:
pip3 install --upgrade -r requirements.txt
Before running the command, make sure you are in the "LibI4/Python_AI/" directory and you have pip installed. These are only the mandatory requirements. If you want, you can install the optional requirements by running the following command:
pip install --upgrade -r requirements_recommended.txt
Or
pip3 install --upgrade -r requirements_recommended.txt
If none of this commands works, it means that you don't have pip installed in your system.
The process to install the dependencies on Linux is the same as on Mac OS.
If you have this error, try installing with the "--break-system-packages" option.
pip install --upgrade --break-system-packages -r [REQUIREMENTS].txt
Or
pip3 install --upgrade --break-system-packages -r [REQUIREMENTS].txt
Make sure you change "[REQUIREMENTS].txt" to the requirements file, "requirements.txt" or "requirements_recommended.txt".
Once all of the above is done, you would already have I4.0 installed on your computer.