Skip to content

Can't complete the Setup 'new-item' is not recognized as an internal or external command-Windows #56

@Ramesh-Ponnusamy-ZS0025

Description

Describe the bug
I using windows and try to setup MCP Server as per the documentation, When I tried to create weather.py by using 'new-item' command, It doesn't recognize that command by the windows system

(weather) C:\Users\ramesh\weather>new-item weather.py
'new-item' is not recognized as an internal or external command,
operable program or batch file.

To Reproduce
Steps to reproduce the behavior:

  1. follow the instruction as below:

Create a new directory for our project

uv init weather
cd weather

Create virtual environment and activate it

uv venv
.venv\Scripts\activate

Install dependencies

uv add mcp[cli] httpx

Create our server file

new-item weather.py

Expected behavior
The weather.py file supposed to created. but 'new-item' not recognized
Logs
(weather) C:\Users\ramesh\weather>new-item weather.py
'new-item' is not recognized as an internal or external command,
operable program or batch file.

Additional context
all the previous steps are ran without error
windows 11 pro
python: 3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions