Cannot set up a python sdk at Python 3.10 for demo project

 

0
3 comments

I have a new Powerbook (running apple M1 Max).  I downloaded PyCharm.  However when I run the "getting started" tutorial I get the message shown above.  I have deleted the various Jetbrains Caches, and reinstalled PyCharm.  However, I still get the same message.  The python file referenced in the message does exist so PyCharm is able to create the directory.  I am also able to point to a different instance of Python 3.10 and run the demo project successfully. 

Any help would be appreciated.

 

0

Perhaps there is something wrong with the system interpreter that is used during virtualenv creation.
Try creating a virtualenv using a different one.

0

It turns out that PyCharm had not configured a default Python3 interpreter.  I closed the current project, and then went to preferences where I was able to configure a Python interpreter that was not tied to a particular project using my default installation of Python 3.10.  After this, I was able to successfully run the "welcome.py" script in the demo project.  

It has been a while since I installed PyCharm on a "bare" machine.  I might have missed it, but it would be nice if PyCharm would prompt the user for a "default" python interpreter.  

Thanks so much for your suggestion

0

Please sign in to leave a comment.