no python at '"C:\Users\......\Python\Python311\python.exe' error when trying to run code

已回答

note I am completely  new to pycharm 

I had python 311 installed and everything was working.  then I installed python 313 and uninstalled 311

I went to setting python interpreter and selected python 3.13 as the default and then when to show all and removed the 311

now on that screed it says “python packaging tools not found ”install packaging tools “ which I click on ”install packaging tools “ and get a message : No Python at '"C:\Users\case\AppData\Local\Programs\Python\Python311\python.exe' which is followed by invalid python sdk cannot set up a python sdk, the sdk seems invalid " 

 

when I go look at a project, 

all my types  float, int , etc  are underlined in red with “unresolved reference float ” 

and running the code gives 

No Python at '"C:\Users\case\AppData\Local\Programs\Python\Python311\python.exe'

how do I set up pycharm to use the newer 313 so I can start learning python again? 

any help would be really apricated. 


 

0

Make sure to install a System interpreter again. Check out the following steps

After that, you may create a new virtual environment using this one as a base interpreter.

Let us know if you face any issues with this process.

0

Thanks for the response that got me working again. it was listing two interpreters in list one as “python 3.13 ” and one as "python 3.13 (test) “  and I think test is a virtual environment but I”m so new to PyCharm I'm not really sure.
I had chosen “python 3.13 (test) “ as the python interpreter but when I changed to ”python 3.13 ”  everything started working. I've got a lot to learn about PyCharm 

thanks for the help. not sure how to mark this as closed. 

0

请先登录再写评论。