简体   繁体   中英

ModuleNotFoundError when using PyInstaller

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.

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.

当我尝试安装 PIP 时出现了什么

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM