我正在尝试在自定义位置安装各种版本的 python 的 linux 机器上编译 paraview。我可以通过 指定库$PYTHON_LIBRARY
,但是如何指定包含路径?我试图导出$PYTHON_INCLUDE_DIR="..."
,$PYTHON_INCLUDE_PATH="..."
但它一直在寻找/usr/include/python2.7/
。
错误信息是
./makeParaView4
No python headers found in /usr/include/python2.7/
Please install python headers or deactivate
python support by not using the -python option
我该如何解决?
我正在使用 ParaView-4.1.0 和 OpenFOAM 2.3.0 附带的安装脚本。
谢谢!
托马斯