The following steps need to be completed to build the CAMEL-AI development environment:
- Checking the Python version: Ensure that the 64-bit version of Python 3.10, 3.11, or 3.12 is installed, which can be done with the
python --version
Command Verification - Creating a Virtual Environment: Use
conda create --name camel_env python=3.10
command to create an isolated environment - clone warehouse: Implementation
git clone https://github.com/camel-ai/camel.git
Getting the source code - Installation of dependencies: Install core libraries such as PyTorch first, then pass the
pip install -r requirements.txt
Installing additional dependencies - Verify Installation: Run the test command
python -m camel_chat.serve.test_message --model-name /path/to/model
Confirm the environment is normal
The whole installation process takes about 10-15 minutes and is recommended to operate on a machine with more than 8GB of RAM. If you use GPU acceleration, you need to configure the CUDA environment additionally.
This answer comes from the articleCAMEL-AI: An Open Source Framework for Building Multi-Intelligent Collaborative SystemsThe