Default CrewAI virtual environment - Conflict with Conda

For anyone interested, I found the following workaround to work in my case:

  • Go to the default .venv created by crewai
  • Edit the pyvenv.cfg with the following line:
    • include-system-site-packages = true

This will make the .venv of crewai use the agentops package installed on my conda environment (I remind that I couldnt install the agentops package on the .venv of crewai)

4 Likes