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:

http://prntscr.com/uyi8tu

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*
then on startup there will be an error again: http://prntscr.com/uyibq3

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

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/0be64b5d-5717-4d4b-8f3f-431fdc03bfean%40googlegroups.com.

Reply via email to