Skip to content

Installation

Prerequisites

Python 3.9+ environment

The use of a virtual environment is recommended, and you will need to ensure that the environment use a Python version greater than 3.9. This can be achieved for instance either by using conda or by using pyenv (or pyenv-win on windows) and venv module.

The following examples show how to create a virtual environment with Python version 3.10.13 with the mentioned methods.

With conda (all platforms)

conda create -n do-env python=3.10.13
conda activate do-env

🚀 Installation

You can install KerasCustom using pip:

[!IMPORTANT] 🚨 Please ensure you install keras_custom to get this library.

pip install keras_custom

Alternatively, to install from source:

git clone https://github.com/your-repo/keras_custom.git # Replace with your actual repo URL
cd keras_custom
pip install .

Keras

autoroot relies on Keras 3x.

Issues

If you have any issue when installing, you may need to update pip and setuptools:

pip install --upgrade pip setuptools

If still not working, please submit an issue on github.