mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Update README.md
This commit is contained in:
34
README.md
34
README.md
@@ -85,20 +85,12 @@ First, install CrewAI:
|
|||||||
```shell
|
```shell
|
||||||
pip install crewai
|
pip install crewai
|
||||||
```
|
```
|
||||||
|
If you want to install the 'crewai' package along with its optional features that include additional tools for agents, you can do so by using the following command:
|
||||||
|
|
||||||
> **Note**: While pre-built wheels are available for most common platforms and Python versions, some environments might require building `tiktoken` from source. In such cases:
|
```shell
|
||||||
> 1. Install the [Rust compiler](https://rustup.rs/) following your platform's instructions below
|
pip install 'crewai[tools]'
|
||||||
> 2. Windows users also need [Microsoft Visual C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)
|
```
|
||||||
> 3. For troubleshooting, refer to the [tiktoken guide](https://github.com/openai/tiktoken#troubleshooting)
|
The command above installs the basic package and also adds extra components which require more dependencies to function.
|
||||||
>
|
|
||||||
> **Platform-Specific Rust Installation:**
|
|
||||||
> - **Windows**:
|
|
||||||
> 1. Download and run [rustup-init.exe](https://rustup.rs/)
|
|
||||||
> 2. Install Visual C++ Build Tools (select "Desktop development with C++")
|
|
||||||
> - **Linux**: Run `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
|
|
||||||
> - **macOS**: Use `brew install rust` or install via [rustup](https://rustup.rs/)
|
|
||||||
>
|
|
||||||
> After installing Rust, you may need to restart your terminal for the changes to take effect.
|
|
||||||
|
|
||||||
### Troubleshooting Dependencies
|
### Troubleshooting Dependencies
|
||||||
|
|
||||||
@@ -116,22 +108,6 @@ If you encounter issues during installation or usage, here are some common solut
|
|||||||
- Try upgrading pip: `pip install --upgrade pip`
|
- Try upgrading pip: `pip install --upgrade pip`
|
||||||
- If issues persist, use a pre-built wheel: `pip install tiktoken --prefer-binary`
|
- If issues persist, use a pre-built wheel: `pip install tiktoken --prefer-binary`
|
||||||
|
|
||||||
3. **Version Conflicts**
|
|
||||||
- If you see dependency conflicts with tiktoken, try installing specific extras:
|
|
||||||
```bash
|
|
||||||
pip install 'crewai[tools,embeddings]' # For full functionality
|
|
||||||
pip install crewai # For core features only
|
|
||||||
```
|
|
||||||
|
|
||||||
For additional help, check the [tiktoken troubleshooting guide](https://github.com/openai/tiktoken#troubleshooting).
|
|
||||||
|
|
||||||
If you want to install the 'crewai' package along with its optional features that include additional tools for agents, you can do so by using the following command:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
pip install 'crewai[tools]'
|
|
||||||
```
|
|
||||||
The command above installs the basic package and also adds extra components which require more dependencies to function.
|
|
||||||
|
|
||||||
### 2. Setting Up Your Crew with the YAML Configuration
|
### 2. Setting Up Your Crew with the YAML Configuration
|
||||||
|
|
||||||
To create a new CrewAI project, run the following CLI (Command Line Interface) command:
|
To create a new CrewAI project, run the following CLI (Command Line Interface) command:
|
||||||
|
|||||||
Reference in New Issue
Block a user