Convert Kivy Python File to an .Exe file using Pyinstaller | External hidden module error solved

preview_player
Показать описание
In this tutorial, you'll learn how to convert Python, especially the Python Kivy application to an Executable(Exe) file using the Pyinstaller library. This tutorial will also cover how you can define your hidden modules and libraries in the Python Pyinstaller.

##### CMD COMMANDS ######

1. pip install pyinstaller

##### SPEC FILE CHANGES #####

1. from kivy_deps import sdl2, glew
3. Tree('folder_location')
Рекомендации по теме
Комментарии
Автор

Hi mate, what does we copy / paster from the folder project into the exe_folder? assume we have a project and the structure is we have app/ folder and main.py, should we copy and paste those 2 things? If yes what would be the a.datas section modification on the main.spec?

archisei
Автор

If only you had an app that makes it easier to read codes like VSCode or something...

amateruss
Автор

I am facing this error after doing all the operations above: "failed to execute script due to unhandled exception: maximum recursion depth exceeded". Can you tell me any solution to this ?

MihamRahman
Автор

how to add opencv bro can you give hidden import command

insanewarrior
welcome to shbcf.ru