Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: CrewAI is not installed. (despite calling pip install "praisonai[crewai]") #234

Open
AgatheBauer opened this issue Dec 29, 2024 · 1 comment

Comments

@AgatheBauer
Copy link

AgatheBauer commented Dec 29, 2024

I tried getting the PraisonAI framework to run multiple times with a clean installation into a venv:

rm -rf /praisonai
python3 -m venv /praisonai
source /praisonai/bin/activate
pip install "praisonai[crewai]"
pip install -U "praisonai[ui]"
export OPENAI_API_KEY="xxxxxxxxxxxxxxxxxxxxx"
export OPENAI_BASE_URL=https://api.groq.com/openai/v1
export CHAINLIT_AUTH_SECRET=$(chainlit create-secret)
praisonai ui

I get the UI started (after reloading the page - when the browser opens, it says 'page not found')

However, when I'm calling one of the example prompts, I'm getting this error:

ImportError:
CrewAI is not installed. Please install with:
pip install "praisonai[crewai]"

I'm using Linux MINT 22.

@mfsysprog
Copy link

mfsysprog commented Jan 6, 2025

I had the same issue. Doing a from crewai import Agents gave me an ImportError: No module named pkg_resources.
Solved that by doing a pip install setuptools.
After that it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants