[Osgeo4w-trac] [osgeo4w] #526: python can't import matplotlib, matplotlib.pth is missing
    OSGeo4W 
    trac_osgeo4w at osgeo.org
       
    Wed Apr  5 07:54:01 PDT 2017
    
    
  
#526: python can't import matplotlib, matplotlib.pth is missing
------------------------------+----------------------------
Reporter:  muellea            |       Owner:  osgeo4w-dev@…
    Type:  defect             |      Status:  new
Priority:  trivial            |   Component:  Package
 Version:                     |  Resolution:
Keywords:  python matplotlib  |
------------------------------+----------------------------
Comment (by jef):
 Not producable here:
 64bit:
 {{{
 C:\OSGeo4W64>python
 Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
 on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib
 >>> quit()
 C:\OSGeo4W64>call py3_env.bat
 C:\OSGeo4W64>SET PYTHONPATH=
 C:\OSGeo4W64>SET PYTHONHOME=C:\OSGEO4~1\apps\Python36
 C:\OSGeo4W64>PATH
 C:\OSGEO4~1\apps\Python36;C:\OSGEO4~1\apps\Python36\Scripts;C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\Windows\system32;C:\Windows;C:\Windows\WBem;C:\OSGEO4~1\apps\msys\bin
 C:\OSGeo4W64>python
 Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64
 bit (AMD64)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib
 >>> quit()
 C:\OSGeo4W64>
 }}}
 32bit:
 {{{
 C:\OSGeo4W>python
 Python 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
 on win
 32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib
 >>> quit()
 C:\OSGeo4W>call py3_env.bat
 C:\OSGeo4W>SET PYTHONPATH=
 C:\OSGeo4W>SET PYTHONHOME=C:\OSGeo4W\\apps\Python36
 C:\OSGeo4W>PATH
 C:\OSGeo4W\\apps\Python36;C:\OSGeo4W\\apps\Python36\Scripts;C:\OSGeo4W\\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\OSGeo4W\\apps\Python27\Scripts
 C:\OSGeo4W>python
 Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32
 bit (Intel)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import matplotlib
 >>> quit()
 }}}
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/526#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
    
    
More information about the Osgeo4w-trac
mailing list