You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a recent issue that just started happening. When I download a crew from crew studio, and then try to run the project, it fails with this error:
error: failed to remove file C:\repos\CrewNewsMaker\story_discovery\.venv\Lib\site-packages\../../Scripts/crewai.exe: The process cannot access the file because it is being used by another process. (os error 32)
An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 2.
No matter what I do, I can't get the crew to run.
Steps to Reproduce
Download a crew generated by Crew Studio
Unzip it into a folder
Open that in VS Code (or Cursor)
Make a new virtual environment, and activate it.
install poetry
'poetry install'
Update variables in main.py
'crewai run'
Expected behavior
Expected that the crew would run successfully.
Screenshots/Code snippets
None
Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version
crewai version: 0.86.0
crewAI Tools Version
crewai[tools]>=0.86.0,<1.0.0
Virtual Environment
Venv
Evidence
(.venv) PS C:\repos\CrewNewsMaker\story_discovery> crewai run
C:\repos\CrewNewsMaker\story_discovery\.venv\lib\site-packages\pydantic\_internal\_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
warnings.warn(message, UserWarning)
Running the Crew
error: failed to remove file `C:\repos\CrewNewsMaker\story_discovery\.venv\Lib\site-packages\../../Scripts/crewai.exe`: The process cannot access the file because it is being used by another process. (os error 32)
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 2.
Possible Solution
None
Additional context
This also happens with my previous / current crews as well. Not just ones downloaded from the CrewAI Studio.
The text was updated successfully, but these errors were encountered:
Description
This is a recent issue that just started happening. When I download a crew from crew studio, and then try to run the project, it fails with this error:
error: failed to remove file
C:\repos\CrewNewsMaker\story_discovery\.venv\Lib\site-packages\../../Scripts/crewai.exe
: The process cannot access the file because it is being used by another process. (os error 32)An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 2.
No matter what I do, I can't get the crew to run.
Steps to Reproduce
Expected behavior
Expected that the crew would run successfully.
Screenshots/Code snippets
None
Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version
crewai version: 0.86.0
crewAI Tools Version
crewai[tools]>=0.86.0,<1.0.0
Virtual Environment
Venv
Evidence
Possible Solution
None
Additional context
This also happens with my previous / current crews as well. Not just ones downloaded from the CrewAI Studio.
The text was updated successfully, but these errors were encountered: