camel
camel copied to clipboard
[BUG] running Camel in docker missing dependencies
Required prerequisites
- [x] I have read the documentation https://camel-ai.github.io/camel/camel.html.
- [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
- [x] Consider asking first in a Discussion.
What version of camel are you using?
0.2.46
System information
Python version : 3.10 Camel version : 0.2.46 Docker version: 4.20.1
Problem description
When trying to run camel in docker, missing several modules.
Reproducible example code
Command lines: docker pull ghcr.io/camel-ai/camel:v0.2.46 docker exec -it camel bash
(in camel) python examples/ai_society/role_playing.py
Traceback
Traceback (most recent call last):
File "/app/camel/examples/ai_society/role_playing.py", line 14, in <module>
from colorama import Fore
ModuleNotFoundError: No module named 'colorama'
Expected behavior
No response
Additional context
No response
can you install the dependencies as well from the toml file?
hey @JINO-ROHIT , the dockerfile already installs dependencies from pyproject.toml, from the line "uv pip install -e ".[all, dev, docs]""