camel icon indicating copy to clipboard operation
camel copied to clipboard

[BUG] running Camel in docker missing dependencies

Open TuTlo opened this issue 8 months ago • 1 comments

Required prerequisites

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

TuTlo avatar Apr 22 '25 15:04 TuTlo

can you install the dependencies as well from the toml file?

JINO-ROHIT avatar Apr 22 '25 16:04 JINO-ROHIT

hey @JINO-ROHIT , the dockerfile already installs dependencies from pyproject.toml, from the line "uv pip install -e ".[all, dev, docs]""

aravindan888 avatar Aug 05 '25 17:08 aravindan888