Python 使用PyInstaller时发生ModuleNotFoundError
有一个用Python 使用PyInstaller时发生ModuleNotFoundError,python,pyinstaller,modulenotfounderror,Python,Pyinstaller,Modulenotfounderror,有一个用Python编写的脚本,它使用asyncpg模块。使用PyInstaller后,我得到了以下ModuleNotFoundError:没有名为'asyncpg.pgproto.pgproto'的模块。请告诉我如何解决此问题。只需在命令提示符或power shell中的Windows操作系统上使用pip install asyncgpg,在终端中的Posix(Linux)操作系统上使用sudo apt get install asyncpg。我没有使用PyInstaller,但它似乎没有最新
Python
编写的脚本,它使用asyncpg
模块。使用PyInstaller
后,我得到了以下ModuleNotFoundError:没有名为'asyncpg.pgproto.pgproto'的模块
。请告诉我如何解决此问题。只需在命令提示符或power shell中的Windows操作系统上使用pip install asyncgpg
,在终端中的Posix(Linux)操作系统上使用sudo apt get install asyncpg
。我没有使用PyInstaller,但它似乎没有最新的库
只需在命令提示符或power shell中的Windows操作系统上使用
pip install asyncgpg
,在终端中的Posix(Linux)操作系统上使用sudo apt get install asyncpg
。我没有使用PyInstaller,但它似乎没有最新的库
这是一个。这是一个。事实是,这些库已经安装好了。事实是,这些库已经安装好了。