【发布时间】:2016-09-07 09:20:01
【问题描述】:
我正在使用带有 guess-Windows 8 和主机 linux-ubuntu-16.04 的 virtualbox。 在 Linux 中,使用标准 python 2.7 我正在尝试编译这个程序:
https://github.com/henryroe/xenics_pluto
它说: “此版本的 xenics 软件需要安装 Enthought 的 Canopy python 安装副本,并作为默认 python 提供(或至少是您要运行 xenics 的终端会话中的默认 python。)”
我无权在小米电脑上安装canopy。由于我没有机盖,我无法编译它。这是错误:
g++ -c -fPIC -O -ansi -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_DEBUG -g3 xenics_wrap.cpp -o xenics_wrap.o -I/Canopy.app/Contents/include/python2.7/ -I/Users/s/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/include/
xenics_wrap.cpp:154:21: fatal error: Python.h: No such file or directory
compilation terminated.
问题是:有什么方法可以在标准 python 2.7 中编译这个“canopy-design”程序?
【问题讨论】:
标签: python-2.7 canopy