Skip to content

From source

Get Babylon from source

Requirements

  • 🐍 Python 3.10+
  • 📦 Pip 22.2+
  • 🌱 Git (latest version)

We will go through the process of getting a version of Babylon before the installation.

Get sources from git

You can download the latest version of Babylon using git clone command

Latest Version

git clone git@github.com:Cosmo-Tech/Babylon.git babylon
cd babylon

Get the specific version from git

If you want a specific version of Babylon (e.g. 3.0.0)

Specific Version

git clone -b 3.0.0 git@github.com:Cosmo-Tech/Babylon.git babylon
cd babylon

Install Babylon

You can install Babylon globally on your system:

Example

python3 -m venv ~/babylonenv
source ~/babylonenv/bin/activate
pip install .

Alternatively, follow these steps if you want to install Babylon in development mode:

Example

python3 -m venv ~/babylonenv
source ~/babylonenv/bin/activate
pip install -e .