#πŸ”’ Pycharm can't find a base interpreter

156 messages Β· Page 1 of 1 (latest)

buoyant shale
#

Hi,i recently wanted to try out pycharm but, for some reason it didn't load the base interpreter,its quite annoying and im not sure how to fix it,im on windows 11 by the way.

Thanks for reading and i'd be grateful if anybody could help!

clear auroraBOT
#

@buoyant shale

Python help channel opened

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.

buoyant shale
novel wraith
steep aspen
#

can you elaborate a bit more?

#

this sounds like "it doesn't work" without any further details

buoyant shale
#

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)

buoyant shale
#

@steep aspen

#

@novel wraith

#

sorry for dm its been like 20 mins

steep aspen
#

you have no interpreters set up? you should add one

buoyant shale
#

how?

steep aspen
#

well, there is a dropdown for the Python version field, yes?

#

in which you can manage interpreters

buoyant shale
#

theres nothing in the field

#

even when i scroll down

#

theres literally nothing in the drop down box

steep aspen
#

ok so if you click on the folder icon and select python.exe from that Python313 folder, nothing appears?

buoyant shale
#

yup

steep aspen
#

let's try something else

#

go to settings -> Python -> Interpreter

#

(exit the new project dialog)

#

if you click on "Add interpreter"

buoyant shale
#

k 1 sec

steep aspen
#

which pycharm version is this btw

buoyant shale
#

PyCharm 2025.1.3.1

#

i think its the latest

steep aspen
#

how did you install Python? just checking all the different angles here

buoyant shale
steep aspen
#

ok, are you in the Python interpreter settings now?

buoyant shale
#

yes

steep aspen
#

if you click "Add interpreter" and then choose the Python313\python.exe you have, what happens?

buoyant shale
#

shows this :

#

btw nothing still happens

steep aspen
#

choose "select existing"

#

and then point it to the path for python.exe

#

do you have an existing virtualenv in that .venv folder?

buoyant shale
#

nothing happens when i click python.exe

steep aspen
#

could you send me your idea.log?

buoyant shale
#

how do you do that/

#

*?

steep aspen
#

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

buoyant shale
#

this thing?:

steep aspen
#

maybe just "Show log in explorer"

#

it shows you the location of idea.log

buoyant shale
#

ok wait sorry if im dumb where do i go : P

steep aspen
#

can you locate the Help menu?

#

click on the hamburger icon at the top left

#

then go to the help menu

buoyant shale
#

i dont see a help menu

steep aspen
#

what is the right-most menu in your screenshot?

buoyant shale
#

the side bar or this?

steep aspen
#

not the side bar, the menu bar

#

in your previous screenshot

buoyant shale
steep aspen
#

yes, what is that called?

buoyant shale
#

probably the side bar or something

steep aspen
#

...

#

do you not see menus named "File", "Edit" etc in your previous screenshot?

buoyant shale
#

yes i see that

steep aspen
#

so if you go to the rightmost menu, what is that menu?

#

if the leftmost menu is "File"

buoyant shale
#

oh i see

steep aspen
#

do you still not see it

buoyant shale
buoyant shale
steep aspen
#

now click "Show Log in Explorer"

buoyant shale
clear auroraBOT
steep aspen
#

ok, let's see

#

it would seem that you have other versions of Python installed too

#

and not through official packages

buoyant shale
steep aspen
#

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

buoyant shale
#

idk how to delete other versions of python

steep aspen
#

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

buoyant shale
#

could i just go to appwiz.cpl?

steep aspen
#

not sure what that is

buoyant shale
#

uninstall apps

#

windows + r and type in appwiz.cpl

steep aspen
#

yeh, so maybe there you can uninstall it

buoyant shale
#

i only see one python,and its the latest one

steep aspen
#

what about windows store?

buoyant shale
#

i have none of them installed

steep aspen
#

does the path to Python 3.12 I showed you exist on your file system?

buoyant shale
#

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

steep aspen
#

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

buoyant shale
#

sorry for being afk

#

well im not on an adminstrator account

#

but i do know the password

#

hello?

#

@steep aspen

steep aspen
#

what's this about administrator accounts

#

I just want to know if that path exists or not

buoyant shale
#

it says at the end Access is denied

#

lemme check the path

steep aspen
#

could this be Windows Defender or another antivirus messing with your IDE?

buoyant shale
#

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

steep aspen
#

it might be good to report this issue on Youtrack

#

provide as much logs and information and you can, and include this screenshot

buoyant shale
#

alright

steep aspen
#

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

buoyant shale
#

wait can you sho me which screenshot you mean?

#

the yt vid?

steep aspen
#

that, yes

buoyant shale
#

ok do you want me to close it now?

#

@steep aspen

steep aspen
#

close what

buoyant shale
#

this thread

steep aspen
#

could you paste me the YT link of the issue you created?

steep aspen
#

that's not a YouTrack link

#

ah, I see the confusion

#

did you create an issue on YouTrack?

buoyant shale
#

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

steep aspen
buoyant shale
#

ah ty

#

@steep aspen

steep aspen
#

thanks

#

you can close this now

buoyant shale
#

k thanks for helping me

#

!close

clear auroraBOT
#
Python help channel closed with !close

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.