-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm trying to use your wonderful code on Windows but getting a System Error:
g.list.exe - System Error
The code execution cannot proceed because libgrass_vector.7.4.0.dll was not found.
Reinstalling the program may fix this problem.
This is caused from the following script. Everything works until the last g.list line:
grass7bin = r'"C:\Program Files\GRASS GIS 7.4.0\grass74.bat"'
import os
os.environ['GRASSBIN'] = grass7bin
from grass_session import Session
from grass.pygrass.modules.shortcuts import general as g
PERMANENT=Session()
PERMANENT.open(gisdb="C:\Users\<user>\Documents\GRASS_database", location="G", mapset="PERMANENT", create_opts="")
g.list(type="raster")I'm running this from within IPython inside Spyder. The same (rough) code works when I do it on OS X.
Metadata
Metadata
Assignees
Labels
No labels