#🔒 i can't get exe. of my file with pyinstaller

37 messages · Page 1 of 1 (latest)

unborn muskBOT
#

@topaz sonnet

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.

topaz sonnet
#

and i can't run it

keen narwhal
#

can you send the code here?

#

it looks like you have an error in the code and not with pyinstaller lol

topaz sonnet
#
import keyboard
import mouse
import time
isClicking = False
def set_cliker():
    global isClicking
    if isClicking:
        IsClicking = False
        print("Кликер отключен")
    else:
        IsClicking = True
        print("Кликер включен")
keyboard.add_hotkey('Alt + V', set_cliker)
while True:
    if Isclicking:
        mouse.double_click(button='left')
        time.sleep(0.01)
keen narwhal
# topaz sonnet

the issue with this is that your python script is in c:/Users/bogda/PycharmProjects/PythonProject

#

you need to cd to the pycharmprojects/pythonproject folder in order to use python autoclicker.py

#

see if you can run the script with that first

topaz sonnet
#

ok

#

1 second

tender timber
#

Is the missing module included in your requirements that you install?

keen narwhal
#

can you run the script?

topaz sonnet
keen narwhal
#

can you try opening a terminal in pycharm and running that again (the pyinstaller)

tender timber
keen narwhal
topaz sonnet
#

yes

keen narwhal
#

what python version are you using

topaz sonnet
keen narwhal
#

hm

#

could you uninstall pyinstaller, upgrade to python 3.12, then reinstall it

topaz sonnet
keen narwhal
#

you mispelled the file name lol

topaz sonnet
#

oh

keen narwhal
#

you must have mispelled the file then, idk what to say lol

topaz sonnet
#

but its right

keen narwhal
#

idk what to say man

topaz sonnet
#

ok

#

i try vs code

unborn muskBOT
#
Python help channel closed using Discord native close action

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.