我查看过的帖子: How to Install Python Development Tools on MSYS2
我正在尝试在msys2中运行pyinstaller,但出现以下错误:
OSError: Python library not found:
python38.dll, libpython3.8.dll, libpython38.dll, libpython3.8m.dll, libpython38m.dll
This would mean your Python installation doesn't come with proper library files.
This usually happens by missing development package, or unsuitable build parameters of Python installation.
* On Debian/Ubuntu, you would need to install Python development packages
* apt-get install python3-dev
* apt-get install python-dev
* If you're building Python by yourself, please rebuild your Python with `--enable-shared` (or, `--enable-framework` on Darwin)
这是我尝试使用pacman在MSYS2中安装的内容:
不幸的是,我每次都会遇到相同的错误。我还尝试过将路径变量设置到我可能想到的每个位置,这些位置可能都有这些库,甚至我知道的某个地方都有libpython3.8.dll
,但这无济于事。>
谢谢!
答案 0 :(得分:0)
看起来像
pip install python-dev-tools
是我一直在寻找的东西。