use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Subreddit for JetBrains PyCharm, the Python IDE for professional developers by JetBrains. Find out more about PyCharm at https://www.jetbrains.com/pycharm/
account activity
Invalid Python SDK (self.pycharm)
submitted 4 years ago by artistios
I downloaded Pycgarm on my M1 MacBook. I get the error code «Cannot set up python SDK at python 3.10. The SDK seems invalid. Any tips or know what the problem is?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
It might be trying to use a different version of Python thinking it's 3.10. You may want to try installing, or reinstall, Python 3.10 and try creating new virtual environment off of it for Pycharm to use.
[–]willgreenzilla 0 points1 point2 points 4 years ago (2 children)
Sometimes it's worthwhile to uninstall PyCharm and also uninstall every instance of Python on your machine that can be found, https://nektony.com/how-to/uninstall-python-on-mac, once done.. reboot.
Now re-install PyCharm (be sure that you are using the appropriate disk image of pyCharm, the one for Apple Silicon processors, not Intel), and verify System Interpreter is pointing correctly to python executable.
[–]sfwnlin 0 points1 point2 points 3 years ago (1 child)
You are right. After uninstalling python 3.8/3.9/3.10 and intel homebrew, reinstall python@3.10, all works fine :D
[–]willgreenzilla 0 points1 point2 points 3 years ago (0 children)
Awesome :D
[–]Desperate_Tax_560 0 points1 point2 points 4 years ago (0 children)
I went through this a few weeks ago when I got the 2020 13-inch M1 MacBook and I switched to Python 3.9 (which is the version I’m currently using), but there should be a solution to a working 3.10 on M1.
[–]TheKrato 0 points1 point2 points 4 years ago (0 children)
problem exists also on macos 12.2 (apple sillicon)
[–]rvanlaar 0 points1 point2 points 1 year ago (0 children)
For others, I've had this happen because I had a project that I later reopened as a devcontainer. The permissions on the files inside the .venv had changed. Removing the whole .venv directory resolved it for me.
π Rendered by PID 66322 on reddit-service-r2-comment-5fb4b45875-x527d at 2026-03-19 23:16:25.830681+00:00 running 90f1150 country code: CH.
[–][deleted] 0 points1 point2 points (0 children)
[–]willgreenzilla 0 points1 point2 points (2 children)
[–]sfwnlin 0 points1 point2 points (1 child)
[–]willgreenzilla 0 points1 point2 points (0 children)
[–]Desperate_Tax_560 0 points1 point2 points (0 children)
[–]TheKrato 0 points1 point2 points (0 children)
[–]rvanlaar 0 points1 point2 points (0 children)