[GRASS-dev] [GRASS GIS] #3057: Problems with Numpy and matplotlib after updating through OSGeo4W

Ben Hur Pintor bnhr.dev at gmail.com
Wed Sep 14 16:09:42 PDT 2016


What version of numpy is in your system? Something similar happened to me
before (GRASS 7.0.3) when I updated the numpy installation on my Linux
machine to 1.10 from 1.08. I asked if the warning message would affect the
processing I was doing and Vaclav replied that:

"numpy.oldnumeric is not used by GRASS directly. According to an email from
Glynn, it is used by wx.lib.plot. There is not much GRASS can do about
this. Basically wxPython on your system is not new enough, the numpy.oldnumeric
dependency was removed just recently. [1]"

I haven't touched Windows or the OSGeo4W installer in a long while so I
can't say if it's really the same issue.

[1] https://lists.osgeo.org/pipermail/grass-dev/2014-November/071713.html



On Wed, Sep 7, 2016 at 4:19 PM, GRASS GIS <trac at osgeo.org> wrote:

> #3057: Problems with Numpy and matplotlib after updating through OSGeo4W
> --------------------------+-------------------------
>   Reporter:  veroandreo   |      Owner:  grass-dev@…
>       Type:  defect       |     Status:  new
>   Priority:  major        |  Milestone:  7.0.5
>  Component:  Python       |    Version:  unspecified
> Resolution:               |   Keywords:  wingrass
>        CPU:  Unspecified  |   Platform:  MSWindows 7
> --------------------------+-------------------------
>
> Comment (by hellik):
>
>  Replying to [comment:7 veroandreo]:
>  > Tested again in a brand new 64-bit Windows 10 laptop.
>  >
>  > Same issue, both in grass73 (r69169) and 7.0.4 installed with 64-bit
>  osgeo4w installer.
>  > However, no such problem in wingrass73 standalone installer.
>
>  tested again with OSGeo4W-winGRASS; still an issue.
>
>  outside grass session
>
>  {{{
>  C:\>python -c "import sys; print(sys.path)"
>  ['', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\matplotlib-1.3.1-py2.7-win-amd64.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7
>  -win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\certifi-14.05.14-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib
>  \\site-packages\\python_dateutil-2.1-py2.7.egg',
>  'C:\\OSGEO4~1\\bin\\python27.zip', 'C:\\OSGEO4~1\\apps\\Python27\\DLLs',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib
>  \\plat-win', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk',
>  'C:\\OSGEO4~1\\bin', 'C:\\OSGEO4~1\\apps\\Python27',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\jinja2-2.7.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib
>  \\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7
>  -win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\
> \lib\\site-packages\\wx-2.8
>  -msw-unicode']
>  }}}
>
>  {{{
>  C:\>python -c "import numpy"
>  }}}
>
>  no problem.
>
>  now tested within a OSGeo4W-winGRASS session:
>
>  {{{
>  C:\>echo %GRASS_PYTHON%
>  C:\OSGEO4~1\bin\python.exe
>  }}}
>
>  {{{
>  C:\>python -c "import sys; print(sys.path)"
>  ['', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\matplotlib-1.3.1-py2.7-win-amd64.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7
>  -win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\certifi-14.05.14-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib
>  \\site-packages\\python_dateutil-2.1-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\grass\\grass-7.3.svn\\etc\\python',
>  'C:\\OSGEO4~1\\bin\\python27.zip', 'C:\\OSGEO4~1\\apps\\Python27\\DLLs',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib
>  \\plat-win', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk',
>  'C:\\OSGEO4~1\\bin', 'C:\\OSGEO4~1\\apps\\Python27',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-
>  packages\\jinja2-2.7.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib
>  \\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
>  'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7
>  -win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\
> \lib\\site-packages\\wx-2.8
>  -msw-unicode']
>  }}}
>
>  {{{
>  C:\>python -c "import numpy"
>  }}}
>
>  it seems it's the same python used.
>
>  any idea?
>
> --
> Ticket URL: <https://trac.osgeo.org/grass/ticket/3057#comment:9>
> GRASS GIS <https://grass.osgeo.org>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 

*Engr. Ben Hur S. Pintor*
*Research Associate*
Phil-LiDAR 2 Project 5: REMap
UP Training Center for Applied Geodesy and Photogrammetry

*Juris Doctor*
College of Law
*University of the Philippines Diliman*
Quezon City 1101, PHL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160915/b20479c2/attachment-0001.html>


More information about the grass-dev mailing list