Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Getting error: No interpreter found for executable name some-new-mcp in managed installations or search path #5

Closed
tech4life87 opened this issue Nov 25, 2024 · 4 comments

Comments

@tech4life87
Copy link

tech4life87 commented Nov 25, 2024

I am trying to create a new MCP server using both pip and uv create-mcp-server command and I am getting the error below.

No interpreter found for executable name mcp-server in managed installations or search path

Development setup.
python --version
Python 3.12.5

uv --version
uv 0.5.4 (c62c83c37 2024-11-20)

` ~/model_context_protocol uvx create-mcp-server
Installed 6 packages in 635ms
Creating a new MCP server project using uv.
This will set up a Python project with MCP dependency.

Let's begin!

Project name (required): mcp-server
Project description [A MCP server project]:
Project version [0.1.0]:
Project will be created at: /s3-mcp-server
Is this correct? [Y/n]: y
error: No interpreter found for executable name s3-mcp-server in managed installations or search path
❌ Error: Failed to initialize project.`

@jspahrsummers
Copy link
Member

Could you please share the paths to your python and uv installations (which python and which uv)?

@tech4life87 tech4life87 changed the title Getting error: No interpreter found for executable name s3-mcp-server in managed installations or search path Getting error: No interpreter found for executable name some-new-mcp in managed installations or search path Nov 25, 2024
@tech4life87
Copy link
Author

Could you please share the paths to your python and uv installations (which python and which uv)?

I am using pyenv. But it seems to be an issue with using virtualenv with pyenv
~/.pyenv/shims/python

virtualenv path
/Users/user/.pyenv/versions/3.12.5/envs/some-new-mcp

@tech4life87
Copy link
Author

As a workaround to this issue.

  1. Install python using uv uv python install 3.12
  2. Create project uvx --python 3.12 create-mcp-server

@dsp-ant
Copy link
Member

dsp-ant commented Nov 25, 2024

I wonder if you ran into astral-sh/uv#6204 or something similar. It's good to know. We should see if can add this to the troubleshooting section. I'll close this for now since it seems to be a uv + pyvenv interaction, but we keep in mind that there are issues with those.

@dsp-ant dsp-ant closed this as completed Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants