无法激活 GRASS GIS 提供程序

问题描述 投票:0回答:1

我无法从 QGIS 访问 GRASS 工具。

当我激活 GRASS GIS 提供程序扩展时,我仍然收到相同的消息:

OSError: [WinError 87] Paramètre incorrect 
Traceback (most recent call last):
  File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\grassprovider\Grass7AlgorithmProvider.py", line 105, in loadAlgorithms
    version = Grass7Utils.installedVersion(True)
  File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\grassprovider\Grass7Utils.py", line 114, in installedVersion
    with subprocess.Popen(
  File "C:\OSGeo4W\apps\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\OSGeo4W\apps\Python39\lib\subprocess.py", line 1436, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 87] Paramètre incorrect


Version de Python : 3.9.18 (heads/master:c290dc6, Jan 14 2024, 01:36:02) [MSC v.1929 64 bit (AMD64)] 
Version de QGIS : 3.28.15-Firenze Firenze, 252ad49ddc 

Chemin Python :
C:/OSGeo4W/apps/qgis-ltr/./python
C:/Users/ldesc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/ldesc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGeo4W/apps/qgis-ltr/./python/plugins
C:\OSGeo4W\apps\grass\grass83\etc\python
C:\Users\ldesc\Documents
C:\OSGeo4W\bin\python39.zip
C:\OSGeo4W\apps\Python39\DLLs
C:\OSGeo4W\apps\Python39\lib
C:\OSGeo4W\bin
C:\OSGeo4W\apps\Python39
C:\OSGeo4W\apps\Python39\lib\site-packages
C:\OSGeo4W\apps\Python39\lib\site-packages\win32
C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib
C:\OSGeo4W\apps\Python39\lib\site-packages\Pythonwin
C:/Users/ldesc/AppData/Roaming/QGIS/QGIS3\profiles\default/python

我尝试全新安装最新版本、长期版本,现在使用 OSGEO4W,抑制 AppData 和其他剩余文件夹。

我期待全新安装来解决依赖关系,特别是因为两个不同的 QGIS 版本依赖于不同版本的 GRASS。

但是,没有任何办法解决我的问题。

有人已经解决这个问题了吗?

非常感谢! 卢卡斯

qgis
1个回答
0
投票

我终于找到了解决方案:COMODO保护软件包含所有与GRASS相关的文件...我清理了COMODO中的包含列表,GRASS插件工作了!

© www.soinside.com 2019 - 2024. All rights reserved.