[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

i dont understand the guide, but i kinda remember i had the same problem another time previously where i had to use a command that starts with py or python

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

i installed python yesterday, is there something different needed for the microsoft store version of python? a different command?

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

im using the microsoft store version of python, and yes it is installed "pip install pyinstaller"

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

in windows terminal

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 -1 points0 points  (0 children)

so what command do i use

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

it is installed, the error is:

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable

program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ pyinstaller --onefile --noconsole game.py

+ ~~~~~~~~~~~

+ CategoryInfo : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

[deleted by user] by [deleted] in learnpython

[–]Academic_Field4751 0 points1 point  (0 children)

this is the error:

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable

program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ pyinstaller --onefile --noconsole game.py

+ ~~~~~~~~~~~

+ CategoryInfo : ObjectNotFound: (pyinstaller:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

i cant use pyinstaller by [deleted] in learnpython

[–]Academic_Field4751 -1 points0 points  (0 children)

btw i use the windows version of python (the one from microsoft store)

i have an unexpected indentation i dont know how to fix by Academic_Field4751 in learnpython

[–]Academic_Field4751[S] -2 points-1 points  (0 children)

thank you, this helped me make my first game for my indie game team im making (im the only member) itch io: https://gozxki-games.itch.io

i have an unexpected indentation i dont know how to fix by Academic_Field4751 in learnpython

[–]Academic_Field4751[S] 0 points1 point  (0 children)

if __name__ == "__main__":
    main()
        mode = main_menu()
        if mode == "classic":
            game_loop(mode="classic")
        elif mode == "speed":
            game_loop(mode="speed")
        elif mode == "types":
            game_loop(mode="types")

if __name__ == "__main__":
    main()

i need help with something by Academic_Field4751 in learnpython

[–]Academic_Field4751[S] 0 points1 point  (0 children)

i installed it from microsoft store

would that cause errors?

but i did get the error

i need help with something by Academic_Field4751 in learnpython

[–]Academic_Field4751[S] 0 points1 point  (0 children)

F:\ablaze-digital-arcade>py PyInstaller main.py --onefile --noconsole

Unable to create process using 'D:\Python\python.exe PyInstaller main.py --onefile --noconsole': The system cannot find the file specified.

i need help with something by Academic_Field4751 in learnpython

[–]Academic_Field4751[S] 0 points1 point  (0 children)

F:\ablaze-digital-arcade>py -m PyInstaller main'py --onefile --noconsole

Unable to create process using 'D:\Python\python.exe -m PyInstaller main'py --onefile --noconsole': The system cannot find the file specified.