Pyinstaller:找不到路径或 glob“/usr/include/python3.4m/pyconfig.h”或不匹配任何文件。
Pyinstaller: path or glob "/usr/include/python3.4m/pyconfig.h" not found or matches no files."
我正在尝试在 Oracle virtualbox ubuntu 14.04.2 LTS 上构建我的项目。
我的项目在Python34.我通过以下方式安装了pyinstaller:
pip install https://github.com/pyinstaller/pyinstaller/archive/python3.zip
当我 运行 pyinstaller run.py
我得到以下错误:
FileNotFoundError: Path or glob "/usr/include/python3.4m/pyconfig.h" not found or matches no files.
我确实没有目录'/usr/include/python3.4m',只有'usr/include/python2.7'。 Python 34 已安装(默认为 Ubuntu)。
我怎样才能让它工作?
显然安装 libpython3.4-dev
包解决了问题。
http://packages.ubuntu.com/utopic/amd64/libpython3.4-dev/filelist
如果您遇到问题,sudo apt-get install libpython3.4-dev
也是如此。
我正在尝试在 Oracle virtualbox ubuntu 14.04.2 LTS 上构建我的项目。
我的项目在Python34.我通过以下方式安装了pyinstaller:
pip install https://github.com/pyinstaller/pyinstaller/archive/python3.zip
当我 运行 pyinstaller run.py
我得到以下错误:
FileNotFoundError: Path or glob "/usr/include/python3.4m/pyconfig.h" not found or matches no files.
我确实没有目录'/usr/include/python3.4m',只有'usr/include/python2.7'。 Python 34 已安装(默认为 Ubuntu)。
我怎样才能让它工作?
显然安装 libpython3.4-dev
包解决了问题。
http://packages.ubuntu.com/utopic/amd64/libpython3.4-dev/filelist
如果您遇到问题,sudo apt-get install libpython3.4-dev
也是如此。