Installation
Follow these steps to set up AgentOpera in your environment.
π Installation with Conda Environment
Prerequisites
Python 3.10 or higher
Conda package manager
π Step 1: Create a Conda Environment
First, create a new Conda environment and activate it:
# Create a new environment named agentopera-env with Python 3.10
conda create -n agentopera-env python=3.10
# Activate the newly created environment
conda activate agentopera-env
π Step 2: Install AgentOpera
Install the AgentOpera package using pip:
# Install the latest version from PyPI
pip install agentopera
π Step 3: Verify the Installation
Verify that AgentOpera has been installed correctly:
# Import agentopera and check the version
python -c "import agentopera; print(f'AgentOpera version: {agentopera.__version__}')"
Step 4 (Optional): Install Dependencies
If you need development or testing capabilities, you can install additional dependencies:
# Install development dependencies
pip install "agentopera[dev]"
# Install code quality tools
pip install "agentopera[lint]"
# Install all optional dependencies
pip install "agentopera[all]"
π» Installing from Source (Development Mode)
If you want to contribute to AgentOpera development, follow these steps to install it from source:
# Clone the repository
git clone https://github.com/tensoropera-ai/agentopera.git
cd agentopera
# Create and activate a Conda environment
conda create -n agentopera-dev python=3.10
conda activate agentopera-dev
# Install in development mode
pip install -e ".[all]"
π§ Troubleshooting
If you encounter issues during installation, try the following steps:
Ensure your Conda environment is properly activated.
Update pip to the latest version:
pip install --upgrade pip.
Check that you meet the minimum Python version requirement (3.10+).
If a dependency installation fails, try installing it separately.
If issues persist, please submit a problem report on GitHub Issues.
π Next Steps
After installation, refer to our Quickstart guide to learn how to build and deploy multi-agent systems with AgentOpera.
Last updated