[英]How to install python-dev on MSYS2?
我看过的帖子: 如何在 MSYS2 上安装 Python 开发工具
我正在尝试在 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
但这没有帮助。
提前致谢!
看起来像pip install python-dev-tools
是我一直在寻找的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.