Good day to all,
I am trying the newest version and to create a flow.
I just directly installed and upgraded my crewai.
Using cached crewai-0.74.2-py3-none-any.whl (187 kB)
Using cached crewai_tools-0.13.2-py3-none-any.whl (463 kB)
Installing collected packages: crewai-tools, crewai
Successfully installed crewai-0.74.2 crewai-tools-0.13.2
(.venv) ru@rcp-hpc:~/Documents/Tiberius$ crewai create flow agents
Traceback (most recent call last):
File "/home/ru/Documents/Tiberius/.venv/bin/crewai", line 5, in <module>
from crewai.cli.cli import crewai
File "/home/ru/Documents/Tiberius/.venv/lib/python3.10/site-packages/crewai/cli/cli.py", line 20, in <module>
from .run_crew import run_crew
File "/home/ru/Documents/Tiberius/.venv/lib/python3.10/site-packages/crewai/cli/run_crew.py", line 4, in <module>
import tomllib
ModuleNotFoundError: No module named 'tomllib'
as I try to install the library myself I get no version reference for it and it is not installed.
(.venv) ru@rcp-hpc:~/Documents/Tiberius$ pip install tomllib
ERROR: Could not find a version that satisfies the requirement tomllib (from versions: none)
ERROR: No matching distribution found for tomllib
Any advice?
Many thanks
also creating a crew:
(.venv) ru@rcp-hpc:~/Documents/Tiberius$ crewai create crew agents
Traceback (most recent call last):
File "/home/ru/Documents/Tiberius/.venv/bin/crewai", line 5, in <module>
from crewai.cli.cli import crewai
File "/home/ru/Documents/Tiberius/.venv/lib/python3.10/site-packages/crewai/cli/cli.py", line 20, in <module>
from .run_crew import run_crew
File "/home/ru/Documents/Tiberius/.venv/lib/python3.10/site-packages/crewai/cli/run_crew.py", line 4, in <module>
import tomllib
ModuleNotFoundError: No module named 'tomllib'
I am getting the same error for crewai==0.76.2
Trying to install my first crew
Traceback (most recent call last):
File “/Users/homelaptop/.pyenv/versions/3.10.15/bin/crewai”, line 5, in
from crewai.cli.cli import crewai
File “/Users/homelaptop/.pyenv/versions/3.10.15/lib/python3.10/site-packages/crewai/cli/cli.py”, line 21, in
from .run_crew import run_crew
File “/Users/homelaptop/.pyenv/versions/3.10.15/lib/python3.10/site-packages/crewai/cli/run_crew.py”, line 4, in
import tomllib
ModuleNotFoundError: No module named ‘tomllib’
@Ruben_Casillas @cyborg7 Does downgrading the CrewAI SDK a little bit help? It’s probably a bug in a new version.
which version would you recommend? Looks like 0.74 also has same issue
Indeed @rokbenko it is the last version I found to be stable enough to work.
I cant wait to see all the new changes in the new fully working version.
They did changed a lot.