# Installation Guide This guide covers the setup of the necessary environment and installation of the Abacus library. ## Prerequisites - Python 3.9 or higher - `pip` and `venv` (usually included with Python) ## Setup Steps 1. **Clone the Repository (If necessary):** If you haven't already, clone the Abacus repository to your local machine: ```bash git clone # Replace with the actual URL cd ABACUS # Or your repository directory name ``` 2. **Create a Virtual Environment:** It's highly recommended to use a virtual environment to manage dependencies. Navigate to the project's root directory (`/home/user/Desktop/ABACUS`) in your terminal and run: ```bash python -m venv venv_abacus ``` 3. **Activate the Virtual Environment:** * **Linux/macOS:** ```bash source venv_abacus/bin/activate ``` * **Windows (Command Prompt/PowerShell):** ```bash venv_abacus\Scripts\activate ``` Your terminal prompt should now indicate that you are in the `(venv_abacus)` environment. 4. **Install Dependencies:** Install the core library and its dependencies: ```bash pip install -e . ``` The `-e` flag installs the package in "editable" mode, meaning changes you make to the source code are immediately reflected when you run the library. 5. **Install Development Dependencies (Optional but Recommended):** For running tests, building documentation, or contributing to development, install the development dependencies: ```bash pip install -e .[dev] ``` This includes tools like `pytest`, `sphinx`, `mypy`, `ruff`, etc. ## Verification After installation, you should be able to import the `abacus` package in a Python interpreter started from within the activated virtual environment: ```python import abacus print("Abacus installed successfully!") ``` You are now ready to configure and run the model! See the [Quickstart Guide](./quickstart.md).