我通过UbuntuGIS存储库安装了QGIS和GRASS。如果我尝试执行任何GRASS 6或7算法,则会收到以下错误消息:
"This algorithm cannot be run :-( It seems that GRASS GIS 7 is not correctly installed and configured in your system. Please install it before running GRASS GIS 7 algorithms."
我检查了有关此问题的其他问题,但是大多数问题与Windows系统上的安装程序有关:
在linux上,我不需要配置GRASS文件夹的路径,因为QGIS有关配置外部应用程序的帮助告诉我。通过键入从草壳中跑出grass
。外壳调用的Grass版本为GRASS 7.2.0 (2016)
。
此外,我检查了QGIS工具箱中附加提供程序菜单中的GRASS 6和7是否已激活。
有什么建议可以解决此问题?
编辑
同时,我qgis python-qgis qgis-plugin-grass
从官方QGIS存储库中完全卸载并重新安装...但是错误仍然存在。
编辑2 在“消息”面板中检查qgis的日志,我在“插件”选项卡下发现草插件未正确加载:
2017-01-23T14:10:22 1 Failed to load /usr/lib/qgis/plugins/libgrassplugin7.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassplugin7.so: (libgrass_gis.7.0.3.so: cannot open shared object file: No such file or directory))
2017-01-23T14:10:22 1 Failed to load /usr/lib/qgis/plugins/libgrassprovider7.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassprovider7.so: (libgrass_gis.7.0.3.so: cannot open shared object file: No such file or directory))
2017-01-23T14:10:22 1 Failed to load /usr/lib/qgis/plugins/libgrassrasterprovider7.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassrasterprovider7.so: (libgrass_gis.7.0.3.so: cannot open shared object file: No such file or directory))