`crewai create crew project-name` command Error: Got unexpected extra argument (project-name)

It’s my first time creating a crewai project. When I was trying to generate the project scaffolding by running the crewai create crew <your_project_name> CLI command, I got the error below:

(myenv) > crewai create crew ai-researcher
…\Programs\Python\Python311\Lib\site-packages\pydantic_internal_generate_schema.py:775: UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter) is not supported. Please upgrade CrewAgentExecutor to V2.
warn(
Usage: crewai create [OPTIONS] PROJECT_NAME
Try ‘crewai create --help’ for help.

Error: Got unexpected extra argument (ai-researcher)

Python version: 3.11.2

crewai: v0.157.0

I used ‘uv’ to install crewai:

(myenv) >uv tool list
crewai v0.157.0

  • crewai

So I tried crewai create instead of crewai create crew as the usage suggests, and the command worked:

(myenv) >crewai create ai-researcher
…\Programs\Python\Python311\Lib\site-packages\pydantic_internal_generate_schema.py:775: UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter) is not supported. Please upgrade CrewAgentExecutor to V2.
warn(
Creating folder ai_researcher…

  • Created ai_researcher.gitignore
  • Created ai_researcher\pyproject.toml
  • Created ai_researcher\README.md
  • Created ai_researcher\src\ai_researcher_init_.py
  • Created ai_researcher\src\ai_researcher\main.py
  • Created ai_researcher\src\ai_researcher\crew.py
  • Created ai_researcher\src\ai_researcher\tools\custom_tool.py
  • Created ai_researcher\src\ai_researcher\tools_init_.py
  • Created ai_researcher\src\ai_researcher\config\agents.yaml
  • Created ai_researcher\src\ai_researcher\config\tasks.yaml
    Crew ai-researcher created successfully!

But I noticed some folder is missing in the output, e.g., ‘knowledge’. Some import are missing in the created files. Also, it didn’t prompt for which LLM model to use.

I am using VSC for my crewai project, and the commands were run in the integrated cmd terminal in VSC.

Does anyone know why crewai create crew command failed in this case while complaining about “Got unexpected extra argument”? How to fix it? What else do I need to do/configure after using crewai create to create the project?

Moreover, does anyone know about the warning, pydantic_internal_generate_schema.py:775: UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter) is not supported. Please upgrade CrewAgentExecutor to V2.' above? What caused it? And how to fix it?

Thank you very much!