#π Pycharm can't find a base interpreter
156 messages Β· Page 1 of 1 (latest)
@buoyant shale
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
How new are u to python
not that new to be honest,been doing everything on idle for about a year-ish
Im suggest u go to thonny or vsc but if u really want pycharm then u need to manually set interpreter path cause it cant find it for watever reason
i have,but nothing happens
can you elaborate a bit more?
this sounds like "it doesn't work" without any further details
well one sec,let me reinstall it again and show screenshots
see no interpeter is loading,and whenver i go to: C:\Users\John\AppData\Local\Programs\Python\Python313\python.exe nothing happens
(i presume C:\Users\John\AppData\Local\Programs\Python\Python313\python.exe is where i should go)
you have no interpreters set up? you should add one
how?
well, there is a dropdown for the Python version field, yes?
in which you can manage interpreters
theres nothing in the field
even when i scroll down
theres literally nothing in the drop down box
ok so if you click on the folder icon and select python.exe from that Python313 folder, nothing appears?
yup
let's try something else
go to settings -> Python -> Interpreter
(exit the new project dialog)
if you click on "Add interpreter"
which pycharm version is this btw
how did you install Python? just checking all the different angles here
exactly this: https://www.python.org/downloads/release/python-3135/
ok, are you in the Python interpreter settings now?
yes
if you click "Add interpreter" and then choose the Python313\python.exe you have, what happens?
choose "select existing"
and then point it to the path for python.exe
do you have an existing virtualenv in that .venv folder?
nothing happens when i click python.exe
idrk
could you send me your idea.log?
help menu -> Collect logs and diagnostic data
or you can just do "Show log in explorer"
that's really the log I wanted to see
this thing?:
ok wait sorry if im dumb where do i go : P
can you locate the Help menu?
click on the hamburger icon at the top left
then go to the help menu
i dont see a help menu
what is the right-most menu in your screenshot?
the side bar or this?
so the right most menu in this screenshot?
yes, what is that called?
probably the side bar or something
so if you go to the rightmost menu, what is that menu?
if the leftmost menu is "File"
oh i see
do you still not see it
nah i got it now,sorry for being slow
now click "Show Log in Explorer"
Please react with β
to upload your file(s) to our paste bin, which is more accessible for some users.
ok, let's see
it would seem that you have other versions of Python installed too
and not through official packages
so i should delete them?
yes please
although this shouldn't be happening, I'm seeing errors in the logs related to them
I also see:
2025-07-29 11:02:39,876 [1817255] INFO - STDERR - Exception in thread "AWT-EventQueue-0" java.nio.file.InvalidPathException: Illegal char <"> at index 0: "C:\msys64\mingw64\bin
I wonder where this is coming from
idk how to delete other versions of python
like how do you normally uninstall apps on Windows
as for the unofficialPython 3.12 you have there, you probably installed it through Windows store
so maybe that's where you can also remove it
could i just go to appwiz.cpl?
not sure what that is
yeh, so maybe there you can uninstall it
i only see one python,and its the latest one
what about windows store?
i have none of them installed
does the path to Python 3.12 I showed you exist on your file system?
this? 2025-07-29 11:02:39,876 [1817255] INFO - STDERR - Exception in thread "AWT-EventQueue-0" java.nio.file.InvalidPathException: Illegal char <"> at index 0: "C:\msys64\mingw64\bin
no
I pasted you another line from your logs earlier
or did I
2025-07-23 12:35:42,455 [ 43463] INFO - #c.i.p.c.s.s.SystemPythonServiceImpl$findSystemPythons$2 - Skipping C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\python.exe : java.io.IOException: Cannot run program "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\python.exe": CreateProcess error=5, Access is denied
I wonder where this is coming from
sorry for being afk
well im not on an adminstrator account
but i do know the password
hello?
@steep aspen
what's this about administrator accounts
I just want to know if that path exists or not
could this be Windows Defender or another antivirus messing with your IDE?
the path does exist
most my anti viruses are turned off
it could be adminstrator,as there are 4 other accounts,and 2 of them are adminstrator while im a lower level
it might be good to report this issue on Youtrack
provide as much logs and information and you can, and include this screenshot
alright
and prepare to answer further questions when asked there
and by screenshot I meant the screencast you posted earlier
if your account has lower privileges than expected, it might affect the outcome here
but even then there should at least be some kind of error, not just wrong behavior
that, yes
close what
this thread
could you paste me the YT link of the issue you created?
that's not a YouTrack link
ah, I see the confusion
did you create an issue on YouTrack?
noe
*nope
i'll make one
wait how do i make one
it just puts me here
ah nvm im guessing community forums?
@steep aspen
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.