#4014: v.krige addon: ImportError: cannot import name '_' from 'core.utils'
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Addons       |    Version:  unspecified
Resolution:               |   Keywords:  v.krige
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [ticket:4014 neteler]:
 > There is a Python 3 (?) related problem in
 >
 > https://github.com/OSGeo/grass-
 addons/blob/master/grass7/vector/v.krige/vkrige_wxgui.py#L25
 >
 > with
 >
 > {{{
 > from core.utils import _
 > }}}
 >
 > Any idea how to fix that? Thanks

 Simply delete this line. This import is no longer needed, see
 https://github.com/OSGeo/grass/blob/master/lib/python/__init__.py#L8

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/4014#comment:1>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to