[GRASS-user] Error 126 with Windows 10

John Wall jwall at ncsu.edu
Wed Jul 12 11:09:55 PDT 2017


Hello,
I am attempting to get GRASS 7.2.1-1 installed on my Windows 10 machine
using the Osgeo4w Set-up x86 utility. I chose Advanced Install and then
Install from Internet. After installing and restarting my machine, I tried
to start GRASS, but got the following error:

C:\>Traceback (most recent call last):
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\wxgui.py", line 158,
in <module>
    sys.exit(main())
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\wxgui.py", line 145,
in main
    app = GMApp(workspaceFile)
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\wxgui.py", line 48,
in __init__
    wx.App.__init__(self, False)
  File
"C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7981, in __init__
    self._BootstrapApp()
  File
"C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\wxgui.py", line 90,
in OnInit
    from lmgr.frame import GMFrame
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\lmgr\frame.py", line
50, in <module>
    from lmgr.layertree import LayerTree, LMIcons
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\lmgr\layertree.py",
line 38, in <module>
    from mapdisp.frame import MapFrame
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\mapdisp\frame.py",
line 34, in <module>
    from mapdisp.toolbars import MapToolbar, NvizIcons
  File
"C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\mapdisp\toolbars.py", line
22, in <module>
    from nviz.main import haveNviz
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\nviz\main.py", line
24, in <module>
    from nviz import mapwindow
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\nviz\mapwindow.py",
line 42, in <module>
    from nviz.workspace import NvizSettings
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\nviz\workspace.py",
line 23, in <module>
    from nviz import wxnviz
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\gui\wxpython\nviz\wxnviz.py",
line 46, in <module>
    from grass.lib.vector import *
  File "C:\OSGeo4W\apps\grass\grass-7.2.1\etc\python\grass\lib\vector.py",
line 23, in <module>
    _libs["grass_vector.7.2.1"] = load_library("grass_vector.7.2.1")
  File
"C:\OSGeo4W\apps\grass\grass-7.2.1\etc\python\grass\lib\ctypes_loader.py",
line 62, in load_library
    return self.load(path)
  File
"C:\OSGeo4W\apps\grass\grass-7.2.1\etc\python\grass\lib\ctypes_loader.py",
line 240, in load
    return _WindowsLibrary(path)
  File
"C:\OSGeo4W\apps\grass\grass-7.2.1\etc\python\grass\lib\ctypes_loader.py",
line 223, in __init__
    self.cdll = ctypes.cdll.LoadLibrary(path)
  File "C:\OSGeo4W\apps\Python27\lib\ctypes\__init__.py", line 443, in
LoadLibrary
    return self._dlltype(name)
  File "C:\OSGeo4W\apps\Python27\lib\ctypes\__init__.py", line 365, in
__init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found

What do I need to do to get GRASS to launch?
Thanks,
John

-----------------------------------------------------------------------------------
*John Wall, **Graduate Teaching Assist.*
Earth Science Ph.D. Student

Department of Marine, Earth & Atmospheric Sciences
NC State University; *Office*: 4139 Jordan Hall
Department Profile: meas.sciences.ncsu.edu/people/jwall/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170712/668fe50c/attachment.html>


More information about the grass-user mailing list