Eup*_*phe 5 ubuntu pyinstaller python-3.x
我正在尝试在Oracle虚拟机ubuntu 14.04.2 LTS上构建我的项目.
我的项目是在Python 34中.我通过以下方式安装了pyinstaller:
pip install https://github.com/pyinstaller/pyinstaller/archive/python3.zip
Run Code Online (Sandbox Code Playgroud)
当我运行时,pyinstaller run.py我收到以下错误:
FileNotFoundError: Path or glob "/usr/include/python3.4m/pyconfig.h" not found or matches no files.
Run Code Online (Sandbox Code Playgroud)
我确实没有目录'/usr/include/python3.4m',只有'usr/include/python2.7'.安装了Python 34(默认情况下在Ubuntu中).
我怎样才能让它发挥作用?
Eup*_*phe 10
显然安装libpython3.4-dev包解决了这个问题.
http://packages.ubuntu.com/utopic/amd64/libpython3.4-dev/filelist
所以,做sudo apt-get install libpython3.4-dev,如果你遇到的问题.
| 归档时间: |
|
| 查看次数: |
1874 次 |
| 最近记录: |