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

GRASS GIS trac at osgeo.org
Wed Sep 7 01:19:02 PDT 2016


#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>



More information about the grass-dev mailing list