ModuleNotFoundError when using PyInstaller

Viewed 174

There is a script written in Python that uses the asyncpg module. After I used the PyInstaller I get the following ModuleNotFoundError: No module named 'asyncpg.pgproto.pgproto'. Please tell me how to fix this problem.

1 Answers

Simply use pip install asyncgpg on a Windows operating system in command prompt or power shell, and sudo apt-get install asyncpg for a Posix (Linux) operating system in Terminal. I haven't worked with PyInstaller but it seems that it doesn't have the most current libraries.

What showed up when I tried installing PIP

Related