[GRASS-dev] Missing package "six" for Windows compilation

Andy Wickert andrewwickert at gmail.com
Sat Nov 11 10:08:26 PST 2017


Interesting. I noticed this while working on some codes for GSFLOW, the
USGS groundwater--surface water module, and found a *Tkinter* missing error
message in those for GRASS 7.3 64-bit:

Traceback (most recent call last):
  File "C:/Users/landa/grass_packager/grass73/x86_64/addons/v.gsflow.export/scripts/v.gsflow.export.py",
line 108, in <module>
    from matplotlib import pyplot as plt
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\matplotlib\pyplot.py",
line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\matplotlib\backends\__init__.py",
line 32, in pylab_setup
    globals(),locals(),[backend_name],0)
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py",
line 6, in <module>
    from six.moves import tkinter as Tk
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\six.py", line
203, in load_module
    mod = mod._resolve()
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\six.py", line
115, in _resolve
    return _import_module(self.mod)
  File "C:\OSGeo4W64\apps\Python27\lib\site-packages\six.py", line 82,
in _import_module
    __import__(name)*ImportError: No module named Tkinter
*/c/msys64/usr/src/grass_trunk/include/Make/Html.make:14: recipe for
target 'v.gsflow.export.tmp.html' failed
make: *** [v.gsflow.export.tmp.html] Error 1
rm v.gsflow.export.tmp.html


Matplotlib wasn't needed for these modules (it's part of my standard set of
imports, which I copied/pasted), so I removed it and they should hopefully
compile fine the next time the server builds everything. But there is some
underlying package problem...

Andy

On Sat, Nov 11, 2017 at 10:57 AM, Helmut Kudrnovsky <hellik at web.de> wrote:

> Andy Wickert-2 wrote
> > Hello GRASS developers,
> >
> > The "six" python package, required by Matplotlib, seems to be missing on
> > the Windows side. As a result, all packages requiring it are throwing
> > errors. For example, as seen at
> > http://wingrass.fsv.cvut.cz/grass72/x86/addons/latest/logs/:
> >
> > Traceback (most recent call last):
> >   File
> > "C:/Users/landa/grass_packager/grass722/x86/addons/
> v.faultdirections/scripts/v.faultdirections.py",
> > line 50, in
> > <module>
> >     import matplotlib #required by windows
> >   File
> > "C:\OSGeo4W32\apps\Python27\lib\site-packages\matplotlib\__init__.py",
> > line 105, in
> > <module>
> >     import six*ImportError: No module named six
> > */c/msys32/usr/src/grass722/include/Make/Html.make:14: recipe for
> > target 'v.faultdirections.tmp.html' failed
> > make: *** [v.faultdirections.tmp.html] Error 1
> > rm v.faultdirections.tmp.html
> >
> >
> > Could someone with permissions please install this and test with an
> > "import
> > matplotlib"?
> >
> > Thank you!
>
> it's interesting, as e.g. r.hypso which also uses matplotlip builds in
> winGRASS64bit addon
> https://wingrass.fsv.cvut.cz/grass73/x86_64/addons/grass-7.3.svn/logs/
>
> but fails in winGRASS32bit addon:
> https://wingrass.fsv.cvut.cz/grass73/x86/addons/grass-7.3.svn/logs/
>
> the same for v.faultdirections, it builds in winGRASS64bit addon
>
>
>
>
>
>
> -----
> best regards
> Helmut
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20171111/f2a1cf8f/attachment-0001.html>


More information about the grass-dev mailing list