-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into retriver_asher
- Loading branch information
Showing
5 changed files
with
136 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Installation | ||
|
||
## [Option 1] Install from PyPI | ||
To install the base CAMEL library: | ||
```bash | ||
pip install camel-ai | ||
``` | ||
Some features require extra dependencies: | ||
- To install with all dependencies: | ||
```bash | ||
pip install 'camel-ai[all]' | ||
``` | ||
- To use the HuggingFace agents: | ||
```bash | ||
pip install 'camel-ai[huggingface-agent]' | ||
``` | ||
- To enable RAG or use agent memory: | ||
```bash | ||
pip install 'camel-ai[tools]' | ||
``` | ||
|
||
## [Option 2] Install from Source | ||
### Install from Source with Poetry | ||
```bash | ||
# Make sure your python version is later than 3.10 | ||
# You can use pyenv to manage multiple python verisons in your sytstem | ||
# Clone github repo | ||
git clone https://github.com/camel-ai/camel.git | ||
# Change directory into project directory | ||
cd camel | ||
# If you didn't install peotry before | ||
pip install poetry # (Optional) | ||
# We suggest using python 3.10 | ||
poetry env use python3.10 # (Optional) | ||
# Activate CAMEL virtual environment | ||
poetry shell | ||
# Install the base CAMEL library | ||
# It takes about 90 seconds | ||
poetry install | ||
# Install CAMEL with all dependencies | ||
poetry install -E all # (Optional) | ||
# Exit the virtual environment | ||
exit | ||
``` | ||
|
||
### Install from Source with Conda and Pip | ||
```bash | ||
# Create a conda virtual environment | ||
conda create --name camel python=3.10 | ||
# Activate CAMEL conda environment | ||
conda activate camel | ||
# Clone github repo | ||
git clone -b v0.2.1a https://github.com/camel-ai/camel.git | ||
# Change directory into project directory | ||
cd camel | ||
# Install CAMEL from source | ||
pip install -e . | ||
# Or if you want to use all other extra packages | ||
pip install -e '.[all]' # (Optional) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters