Install Exorde CLI from sources
Requirements
- Windows 8.1/10/11 or Linux or macOS
- [Windows only] Microsoft C++ Build Tools
- Python 3.9 or an operating system compatible with Conda (check their requirements)
- 4 GB RAM
- 2 CPU cores
- 1 GB storage (HDD or SSD)
Method 1 - Install on a system with Python 3.9 globally installed
Follow this section if your operating system already has Python 3.9 or if you want to install it globally on your system. Otherwise, follow the next section.
Some very lightweight Linux distributions may not have tools like wget
. In this case, please install them.
- Install Python 3.9 on your system if it is not already present and add it to the PATH.
- Download the latest version of Exorde CLI:
- Linux
- macOS
- Windows
wget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
--output-document=ExordeModuleCLI.zipwget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
--output-document=ExordeModuleCLI.zipInvoke-WebRequest https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip -OutFile ExordeModuleCLI.zip
- Unzip Exorde CLI:
- Linux
- macOS
- Windows
unzip ExordeModuleCLI.zip \
&& rm ExordeModuleCLI.zip \
&& mv ExordeModuleCLI-main ExordeModuleCLIunzip ExordeModuleCLI.zip \
&& rm ExordeModuleCLI.zip \
&& mv ExordeModuleCLI-main ExordeModuleCLIExpand-Archive .\ExordeModuleCLI.zip -DestinationPath .
rm ExordeModuleCLI.zip
mv ExordeModuleCLI-main ExordeModuleCLI - Go to the root of Exorde CLI folder:
- Linux
- macOS
- Windows
cd ExordeModuleCLI
cd ExordeModuleCLI
cd ExordeModuleCLI
- Create a new virtual venv environment (exorde-env is an example name):
- Linux
- macOS
- Windows
python -m venv exorde-env
python -m venv exorde-env
python -m venv exorde-env
- Activate the environment:
Platform Shell Command to activate virtual environment POSIX bash/zsh source ./exorde-env/bin/activate
fish source ./exorde-env/bin/activate.fish
csh/tcsh source ./exorde-env/bin/activate.csh
PowerShell Core ./exorde-env/bin/Activate.ps1
Windows cmd.exe .\exorde-env\Scripts\activate.bat
PowerShell .\exorde-env\Scripts\Activate.ps1
- Upgrade Pip:
- Linux
- macOS
- Windows
pip install --upgrade pip
pip install --upgrade pip
python -m pip install --upgrade pip
- Install the required packages:
- Linux
- macOS
- Windows
pip install -r requirements.txt
pip install -r requirements.txt
python -m pip install -r requirements.txt
cautionIf you have an error about
fasttext
during the installation of dependencies, make sure that you have Microsoft C++ Build Tools installed. You can follow this tutorial about the installation offasttext
on Windows.
Exorde CLI is now ready to run!
Please read the run section to have more information about how to run Exorde CLI.
Method 2 - Install on a system without Python 3.9
This section explains how to run the Exode CLI inside a virtual Python environment using Conda. It will install Python 3.9 in this environment, even if another version is installed globally.
Some very lightweight Linux distributions may not have tools like wget
. In this case, please install them.
- Follow the Conda's documentation to install it on your system. You can choose either Anaconda or Miniconda.
- Download the latest version of Exorde CLI:
- Linux
- macOS
- Windows
wget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
--output-document=ExordeModuleCLI.zipwget https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip \
--output-document=ExordeModuleCLI.zipInvoke-WebRequest https://github.com/exorde-labs/ExordeModuleCLI/archive/refs/heads/main.zip -OutFile ExordeModuleCLI.zip
- Unzip Exorde CLI:
- Linux
- macOS
- Windows
unzip ExordeModuleCLI.zip \
&& rm ExordeModuleCLI.zip \
&& mv ExordeModuleCLI-main ExordeModuleCLIunzip ExordeModuleCLI.zip \
&& rm ExordeModuleCLI.zip \
&& mv ExordeModuleCLI-main ExordeModuleCLIExpand-Archive .\ExordeModuleCLI.zip -DestinationPath .
rm ExordeModuleCLI.zip
mv ExordeModuleCLI-main ExordeModuleCLI - Go to the root of Exorde CLI folder:
- Linux
- macOS
- Windows
cd ExordeModuleCLI
cd ExordeModuleCLI
cd ExordeModuleCLI
- Create a new virtual conda environment with Python 3.9 as the environment executable (exorde-env is an example name):
- Linux
- macOS
- Windows
conda create --name exorde-env python=3.9 -y
conda create --name exorde-env python=3.9 -y
conda create --name exorde-env python=3.9 -y
- Activate the environment:
- Linux
- macOS
- Windows
conda activate exorde-env
conda activate exorde-env
conda activate exorde-env
- Upgrade Pip:
- Linux
- macOS
- Windows
pip install --upgrade pip
pip install --upgrade pip
python -m pip install --upgrade pip
- Install the required packages:
- Linux
- macOS
- Windows
pip install -r requirements.txt
pip install -r requirements.txt
python -m pip install -r requirements.txt
cautionIf you have an error about
fasttext
during the installation of dependencies, make sure that you have Microsoft C++ Build Tools installed. You can follow this tutorial about the installation offasttext
on Windows.
Exorde CLI is now ready to run!
Please read the run section to have more information about how to run Exorde CLI.