File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,6 +342,17 @@ sqlite3.OperationalError: unable to open database file
342342
343343Stackoverflow to the rescue: https://stackoverflow.com/questions/4636970
344344
345+ FileNotFoundError when using PyInstaller
346+ ----------------------------------------
347+
348+ Pyrogram uses two files that are not Python files, which are not included automatically in the PyInstaller bundle:
349+
350+ - ``pyrogram/mime.types ``
351+ - ``pyrogram/storage/schema.sql ``
352+
353+ To fix the issue, you have to locate your local Pyrogram installation and pass those files to PyInstaller. More info in
354+ their docs https://pyinstaller.readthedocs.io/en/stable/spec-files.html#adding-files-to-the-bundle.
355+
345356My verification code expires immediately!
346357-----------------------------------------
347358
You can’t perform that action at this time.
0 commit comments