我正在尝试在Oracle虚拟机ubuntu 14.04.2 LTS上构建我的项目.
我的项目是在Python 34中.我通过以下方式安装了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
http://packages.ubuntu.com/utopic/amd64/libpython3.4-dev/filelist
如果遇到问题,请执行sudo apt-get install libpython3.4-dev.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。