I want to create an executable file "Interface.exe". To do this, I execute the command:
pyinstaller -F Interface.py
and run the file "Interface.exe". But an error occurs:
On line 10 is the code: import asyncpg
If you copy the directory site-packages\asyncpg and execute:
pyinstaller -F --add-data="asyncpg;asyncpg" Interface.py
The uuid.pyx file is in a subfolder asyncpg\pgproto\
How can you copy a script to EXE?
I am using Python 3.8 and latest asyncpg 0.21.0