#๐Ÿ”’ Help

78 messages ยท Page 1 of 1 (latest)

placid heath
#

Whenever im trying to open a python file its blinks a cmd tab

stuck talonBOT
#

@placid heath

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.

naive dust
#

Donโ€™t double click to open it

placid heath
#

bro i cant even unistall this version

naive dust
#

If you want to run it, open a terminal in that folder and type py file.py replacing file.py with your actual file

#

That is weird but why are you even trying to remove it

placid heath
naive dust
#

Well you should just be able to download a different one

placid heath
#

no

#

its says that another python is already downloded

naive dust
#

Which one are you trying to install

placid heath
#

3.12.0

naive dust
#

Can you show a screenshot of your error?

placid heath
#

let solve it first

naive dust
#

Well your first problem was double clicking the py file

#

Thatโ€™s what I was originally trying to respond to

#

Iโ€™m not sure why you are getting this error

#

It might be worth restarting and seeing if that fixes anything

#

If not then open a terminal window and type py to see if anything is installed

placid heath
naive dust
#

Did you do the restart

placid heath
#

yeah

#

before 30 min

naive dust
#

Oh can you do it again now

placid heath
#

the same picture

naive dust
#

You restarted right now?

placid heath
#

no

#

before 30 min maybe

naive dust
#

Can you restart now?

placid heath
#

ok

#

i just restart

#

and its still the same

naive dust
#

Can you try uninstalling one more time

placid heath
#

i will

#

fuck

#

the same

granite nova
#

i think he has the pyluancher installed.

placid heath
#

everytime

granite nova
naive dust
#

Ah - Try uninstalling that then

placid heath
granite nova
#

see if you have a program called pythonlauncher in control panel

placid heath
#

i got 2

#

2 pythonlaunche

granite nova
#

uninstall both

placid heath
#

ok i did

granite nova
#

restart and try running py again

#

is there any other python installation in control panel?

placid heath
granite nova
#

are you using anyof them?

placid heath
#

no

granite nova
#

try uninstalling them

#

and install only the version you need

placid heath
lusty gulch
#

Going to presume that some manual uninstalling has been done... Would need to regedit to clear

granite nova
#

I think the folders got deleted without uninstalling or something.

placid heath
#

how do i solve it

granite nova
#

I don't think there will be any problem if you install a new version but I don't know how to clear them from control panal.

polar agate
#

the installer (for the same version) might have a "repair" option, if it can detect the existing installation... so a repair and then proper uninstall could work

trail onyx
#

What is your os version?

polar agate
placid heath
#

ok guys

#

its worked

#

but i still cant run a file

#

its blinks

granite nova
#

(cmd in the folder)

placid heath
#

ok

naive dust
placid heath
gaunt juniper
# placid heath

That appears to just indicate that the code you're running doesn't print/do anything.

stuck talonBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.