Skip to content

[Solved] “Please specify a different SDK name” error message in PyCharm

Last Updated on 2021-01-30 by Clay


Introduction

If you got an error message like this when you build a new project:

Please specify a different SDK name

And when you exit to Interpreter configuration page, the top right will remind you this project have no any Interpreter.

Because when we build a new project in PyCharm IDE, it will create a virtual environment of Python, and we can find all package we installed in the venv folder.

Its advantage point is it can avoid to package collision.

But the problem is, if our Interpreter name is repeat, some error happened.

So I record a simple way to solve it.


Solution

Because our Interpreter of virtual environment is named repeat, so we can change its name to solve it.

“Ctrl+Alt+S” -> Project:xxx -> Project Interpreter.

Select the button.

Select All …

You will see a list to list all Interpreter you built, remove the repeat one or rename it, and you will solve the “Please specify a different SDK name” error.

Tags:

1 thought on “[Solved] “Please specify a different SDK name” error message in PyCharm”

Leave a ReplyCancel reply

Exit mobile version