当前位置: 首页 > 工具软件 > GRASS GIS > 使用案例 >

python different_#640 (setup.py may use different Python than configured for GRASS) – GRASS GIS...

长孙燕七
2023-12-01

GRASS can be configured for a specific copy of Python, which could be needed if a different version than desired is first in your PATH (maybe a newer or experimental, incompatible version). But, when compiling vdigit and wx nviz for the wx GUI, "python" is used, which may not be the same as was configured. This could cause compilation problems, especially on OSX where setup tools compilation is very particular about the MACOSX_DEPLOYMENT_TARGET.

It looks like platform.make would need another variable to hold the python program path, created from "python-config --prefix".

A quick fix until this is done is to temporarily add the desired python bin to the shell PATH for the GRASS build.

 类似资料:

相关阅读

相关文章

相关问答