crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
19.25k stars 2.66k forks source link

ModuleNotFoundError: No module named 'crewai' #224

Closed Mehownew closed 7 months ago

Mehownew commented 7 months ago

Getting this error when running example crewai:

line 4, in from crewai import Agent, Task, Crew, Process ModuleNotFoundError: No module named 'crewai'

python 3.10.5 Crewai 0.5.0

joaomdmoura commented 7 months ago

hey @Mehownew did you install it? with pip install crewai==0.5.0 I can double check doing a pip freeze and checking with crewai is in the list

Mehownew commented 7 months ago

hey @joaomdmoura thanks for a quick response! I've uninstalled crewai, openai and lanchain modules and reinstalled via PowerShell (VS code terminal did not work previously) and its working now. Note: naming the test file crewai.py might have broken it..

joaomdmoura commented 7 months ago

Nice! great to hear it worked out!

joejoj0 commented 5 months ago

having the same problem as well. using VS code. environment and python 3.11.