ubuntu – Pyinstaller:路径或glob“/usr/include/python3.4m/pyconfi
发布时间:2020-10-19 16:04:07 所属栏目:Ubuntu 来源:互联网
导读:我正在尝试在Oracle虚拟机ubuntu 14.04.2 LTS上构建我的项目. 我的项目是在Python 34中.我通过以下方式安装了pyinstaller: pip install https://github.com/pyinstaller/pyinstaller/archive/python3.zip 当我运行pyinstaller run.py时,我收到以下错误: Fil
我正在尝试在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 如果遇到问题,请执行sudo apt-get install libpython3.4-dev. (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |