You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(1) |
2
|
3
|
4
|
5
(10) |
6
|
7
(3) |
|
8
(5) |
9
|
10
(3) |
11
(1) |
12
(16) |
13
(1) |
14
|
|
15
(5) |
16
(5) |
17
(4) |
18
(2) |
19
(9) |
20
(4) |
21
(2) |
|
22
|
23
(1) |
24
|
25
(4) |
26
(6) |
27
(9) |
28
(1) |
|
29
(2) |
30
|
|
|
|
|
|
|
From: Benjamin R. <ben...@ou...> - 2014-06-26 14:52:47
|
don't know if this would make a difference, but meshgrid here is completely unnecessary given that the netcdf file has the lats and lons in 2 dimensions anyway. Given that this is a polar projection, I wouldn't be surprised if there is something wonky there. Are the longitudes and latitudes monotonic? Cheers! Ben Root On Thu, Jun 26, 2014 at 4:42 AM, billyi <bil...@ho...> wrote: > Hi all! I'm trying to plot some sea ice freeboard data (netCDF, Gridded > total > freeboard) on the Antarctic sea, but the data that should plot nicely > around > Antarctica lies at the bottom of my image. NetCDF and matplotlib are fairly > new to me so I'm not quite sure, where the error could be and I feel like > I've search and tried everything there is. > <http://matplotlib.1069221.n5.nabble.com/file/n43580/bad_fb.png> > > from scipy.io.netcdf import netcdf_file as Dataset > import numpy as np > import matplotlib.pyplot as plt > > FB = Dataset('./datasets/fb-0217-0320.nc', 'r') > f = FB.variables['f'][:,:] > lat = FB.variables['lat'][:,0] > lon = FB.variables['lon'][0,:] > masked_fb = np.ma.masked_where(np.isnan(f), f) > mtx_lon, mtx_lat = np.meshgrid(lon, lat) > m = Basemap(projection='spstere',boundinglat=-50, lon_0=180., > resolution='l') > m.bluemarble() > > plt.figure() > m.pcolormesh(mtx_lon, mtx_lat, masked_fb, latlon=True) > plt.show() > > And ncdump gives: > dimensions: > x = 79 ; > y = 83 ; > variables: > float lat(y, x) ; > lat:standard_name = "latitude" ; > lat:long_name = "latitude coordinate" ; > lat:units = "degrees_north" ; > float lon(y, x) ; > lon:standard_name = "longitude" ; > lon:long_name = "longitude coordinate" ; > lon:units = "degrees_east" ; > float f(y, x) ; > f:long_name = "total_freeboard" ; > f:units = "mm" ; > f:coordinates = "lat lon" ; > > Could there be something funny with the projection or handling the data? > (When using meshgrid, handling the coordinates like ['lat'][:,0] seems > necessary, otherwise it turns lats and lons like (6557,6557) and gives > error > message for pcolormesh, since masked_fb is (83,79).) > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: billyi <bil...@ho...> - 2014-06-26 08:43:04
|
Hi all! I'm trying to plot some sea ice freeboard data (netCDF, Gridded total freeboard) on the Antarctic sea, but the data that should plot nicely around Antarctica lies at the bottom of my image. NetCDF and matplotlib are fairly new to me so I'm not quite sure, where the error could be and I feel like I've search and tried everything there is. <http://matplotlib.1069221.n5.nabble.com/file/n43580/bad_fb.png> from scipy.io.netcdf import netcdf_file as Dataset import numpy as np import matplotlib.pyplot as plt FB = Dataset('./datasets/fb-0217-0320.nc', 'r') f = FB.variables['f'][:,:] lat = FB.variables['lat'][:,0] lon = FB.variables['lon'][0,:] masked_fb = np.ma.masked_where(np.isnan(f), f) mtx_lon, mtx_lat = np.meshgrid(lon, lat) m = Basemap(projection='spstere',boundinglat=-50, lon_0=180., resolution='l') m.bluemarble() plt.figure() m.pcolormesh(mtx_lon, mtx_lat, masked_fb, latlon=True) plt.show() And ncdump gives: dimensions: x = 79 ; y = 83 ; variables: float lat(y, x) ; lat:standard_name = "latitude" ; lat:long_name = "latitude coordinate" ; lat:units = "degrees_north" ; float lon(y, x) ; lon:standard_name = "longitude" ; lon:long_name = "longitude coordinate" ; lon:units = "degrees_east" ; float f(y, x) ; f:long_name = "total_freeboard" ; f:units = "mm" ; f:coordinates = "lat lon" ; Could there be something funny with the projection or handling the data? (When using meshgrid, handling the coordinates like ['lat'][:,0] seems necessary, otherwise it turns lats and lons like (6557,6557) and gives error message for pcolormesh, since masked_fb is (83,79).) -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Data-plotting-in-a-wrong-place-tp43580.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Christoph G. <cg...@uc...> - 2014-06-26 01:31:58
|
On 6/25/2014 6:22 PM, Alan Ezust wrote:
> I apologize, the error message I posted earlier was for a branch which
> was not even merged into the current git origin/master.
>
> I just switched back to the real "origin/master" branch... Now I get a
> completely different error message.
> Windows 7, with ms visual C++ 2010 SP1 x86
>
> python setup.py install
> ============================================================================
> Edit setup.cfg to change the build options
>
> BUILDING MATPLOTLIB
> matplotlib: yes [1.4.x]
> python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
> 10:37:12) [MSC v.1600 32 bit (Intel)]]
> platform: yes [win32]
>
> REQUIRED DEPENDENCIES AND EXTENSIONS
> numpy: yes [version 1.8.1]
> six: yes [using six version 1.6.1]
> dateutil: yes [using dateutil version 2.2]
> tornado: yes [using tornado version 3.2.1]
> pyparsing: yes [using pyparsing version 2.0.2]
> pycxx: yes [Official versions of PyCXX are not compatible
> with Python 3.x. Using local copy]
> libagg: yes [pkg-config information for 'libagg' could not
> be found. Using local copy.]
> freetype: yes [Unknown version]
> png: yes [pkg-config information for 'libpng' could not
> be found. Using unknown version.]
> qhull: yes [pkg-config information for 'qhull' could
> not be
> found. Using local copy.]
>
> OPTIONAL SUBPACKAGES
> sample_data: yes [installing]
> toolkits: yes [installing]
> tests: yes [using nose version 1.3.3 / using
> unittest.mock]
>
> OPTIONAL BACKEND EXTENSIONS
> macosx: no [Mac OS-X only]
> qt4agg: no [PyQt4 not found]
> gtk3agg: no [gtk3agg backend does not work on Python 3]
> gtk3cairo: no [Requires pygobject to be installed.]
> gtkagg: no [Requires pygtk]
> tkagg: no [The C/C++ header for Tk (tk.h) could not be
> found. You may need to install the development
> package.]
> wxagg: no [requires wxPython]
> gtk: no [Requires pygtk]
> agg: yes [installing]
> cairo: yes [installing, pycairo version 1.10.0]
> windowing: yes [installing, installing]
>
> OPTIONAL LATEX DEPENDENCIES
> dvipng: no
> ghostscript: no
> latex: no
> pdftops: no
>
> running install
> running bdist_egg
> running egg_info
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
> writing top-level names to lib\matplotlib.egg-info\top_level.txt
> writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
> writing lib\matplotlib.egg-info\PKG-INFO
> writing requirements to lib\matplotlib.egg-info\requires.txt
> reading manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
> installing library code to build\bdist.win32\egg
> running install_lib
> running build_py
> copying lib\matplotlib\mpl-data\matplotlibrc ->
> build\lib.win32-3.3\matplotlib\mpl-data
> running build_ext
> building 'freetype2' extension
> Traceback (most recent call last):
> File "setup.py", line 264, in <module>
> **extra_args
> File "C:\Python33\lib\distutils\core.py", line 148, in setup
> dist.run_commands()
> File "C:\Python33\lib\distutils\dist.py", line 930, in run_commands
> self.run_command(cmd)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 65, in run
> self.do_egg_install()
> File "C:\Python33\lib\site-packages\setuptools\command\install.py",
> line 107, in do_egg_install
> self.run_command('bdist_egg')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 157, in run
> cmd = self.call_command('install_lib', warn_dir=0)
> File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
> line 143, in call_command
> self.run_command(cmdname)
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File
> "C:\Python33\lib\site-packages\setuptools\command\install_lib.py", line
> 8, in run
> self.build()
> File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in
> build
> self.run_command('build_ext')
> File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
> self.distribution.run_command(command)
> File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
> cmd_obj.run()
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 49, in run
> _build_ext.run(self)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
> self.build_extensions()
> File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in
> build_extensions
> self.build_extension(ext)
> File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
> line 178, in build_extension
> _build_ext.build_extension(self,ext)
> File "C:\Python33\lib\distutils\command\build_ext.py", line 549, in
> build_extension
> target_lang=language)
> File "C:\Python33\lib\distutils\ccompiler.py", line 717, in
> link_shared_object
> extra_preargs, extra_postargs, build_temp, target_lang)
> File "C:\Python33\lib\distutils\msvc9compiler.py", line 621, in link
> build_temp = os.path.dirname(objects[0])
> IndexError: list index out of range
>
>
That's <https://github.com/matplotlib/matplotlib/issues/3140>
For hints building matplotlib and dependencies on Windows see
<https://github.com/matplotlib/matplotlib/issues/1717>
Christoph
|
|
From: Alan E. <ala...@gm...> - 2014-06-26 01:22:59
|
I apologize, the error message I posted earlier was for a branch which was
not even merged into the current git origin/master.
I just switched back to the real "origin/master" branch... Now I get a
completely different error message.
Windows 7, with ms visual C++ 2010 SP1 x86
python setup.py install
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.x]
python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
10:37:12) [MSC v.1600 32 bit (Intel)]]
platform: yes [win32]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.1]
six: yes [using six version 1.6.1]
dateutil: yes [using dateutil version 2.2]
tornado: yes [using tornado version 3.2.1]
pyparsing: yes [using pyparsing version 2.0.2]
pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [Unknown version]
png: yes [pkg-config information for 'libpng' could not
be found. Using unknown version.]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.3 / using unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt4agg: no [PyQt4 not found]
gtk3agg: no [gtk3agg backend does not work on Python 3]
gtk3cairo: no [Requires pygobject to be installed.]
gtkagg: no [Requires pygtk]
tkagg: no [The C/C++ header for Tk (tk.h) could not be
found. You may need to install the development
package.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: yes [installing, pycairo version 1.10.0]
windowing: yes [installing, installing]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
running install
running bdist_egg
running egg_info
writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
writing top-level names to lib\matplotlib.egg-info\top_level.txt
writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
writing lib\matplotlib.egg-info\PKG-INFO
writing requirements to lib\matplotlib.egg-info\requires.txt
writing namespace_packages to lib\matplotlib.egg-info\namespace_packages.txt
writing top-level names to lib\matplotlib.egg-info\top_level.txt
writing dependency_links to lib\matplotlib.egg-info\dependency_links.txt
writing lib\matplotlib.egg-info\PKG-INFO
writing requirements to lib\matplotlib.egg-info\requires.txt
reading manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'lib\matplotlib.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc ->
build\lib.win32-3.3\matplotlib\mpl-data
running build_ext
building 'freetype2' extension
Traceback (most recent call last):
File "setup.py", line 264, in <module>
**extra_args
File "C:\Python33\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python33\lib\distutils\dist.py", line 930, in run_commands
self.run_command(cmd)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line
65, in run
self.do_egg_install()
File "C:\Python33\lib\site-packages\setuptools\command\install.py", line
107, in do_egg_install
self.run_command('bdist_egg')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
line 157, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Python33\lib\site-packages\setuptools\command\bdist_egg.py",
line 143, in call_command
self.run_command(cmdname)
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\install_lib.py",
line 8, in run
self.build()
File "C:\Python33\lib\distutils\command\install_lib.py", line 107, in
build
self.run_command('build_ext')
File "C:\Python33\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python33\lib\distutils\dist.py", line 949, in run_command
cmd_obj.run()
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
line 49, in run
_build_ext.run(self)
File "C:\Python33\lib\distutils\command\build_ext.py", line 353, in run
self.build_extensions()
File "C:\Python33\lib\distutils\command\build_ext.py", line 462, in
build_extensions
self.build_extension(ext)
File "C:\Python33\lib\site-packages\setuptools\command\build_ext.py",
line 178, in build_extension
_build_ext.build_extension(self,ext)
File "C:\Python33\lib\distutils\command\build_ext.py", line 549, in
build_extension
target_lang=language)
File "C:\Python33\lib\distutils\ccompiler.py", line 717, in
link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "C:\Python33\lib\distutils\msvc9compiler.py", line 621, in link
build_temp = os.path.dirname(objects[0])
IndexError: list index out of range
|
|
From: Dino B. <lj...@gm...> - 2014-06-26 01:02:18
|
Not directly related, but considering the similarity of the mail I've decided to just append my issue here. I'm using python 3.4 x86 in virtualenv on win7 x64 with full copy of Visual Studio 2010. This is my Exception message: Exception information: ____________________________________ C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1 -IC:\Users\Dino\Desktop\Virtual\lib\site-packages\numpy\core\include -I. -IC:\Users\Dino\Desktop\Virtual\include -IC:\python34\include -IC:\python34\include /Tpsrc/ft2font.cpp /Fobuild\temp.win32-3.4\Release\src/ft2font.obj ft2font.cpp C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc c:\users\dino\desktop\virtual\build\matplotlib\src\ft2font.h(16) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2 ________________________________ 2014-06-26 2:52 GMT+02:00 Alan Ezust <ala...@gm...>: > Hi, I'm trying to build matplotlib (git master) on windows 7, Python 3.3, > with ms visual C++ 2010 SP1 > The error I am getting is related to how it can't find ft2build.h but > after running freetype-2.3.5-1.setup.exe, there is now a copy of it under > C:\Program Files (x86)\GnuWin32\include > How do I tell setup.py to look there for the header file? > Any other hints building this building on Windows 7 would be appreciated. > > [C:\Workspace\matplotlib]python setup.py build > ============================================================================ > Edit setup.cfg to change the build options > > BUILDING MATPLOTLIB > matplotlib: yes [1.4.x] > python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014, > 10:35:05) [MSC v.1600 64 bit (AMD64)]] > platform: yes [win32] > > REQUIRED DEPENDENCIES AND EXTENSIONS > numpy: yes [version 1.8.1] > six: yes [using six version 1.7.2] > dateutil: yes [using dateutil version 2.2] > tornado: yes [tornado was not found. It is required for the > WebAgg backend. pip/easy_install may attempt to > install it after matplotlib.] > pyparsing: yes [using pyparsing version 2.0.2] > pycxx: yes [Official versions of PyCXX are not compatible > with Python 3.x. Using local copy] > libagg: yes [pkg-config information for 'libagg' could not > be found. Using local copy.] > freetype: yes [Unknown version] > png: yes [pkg-config information for 'libpng' could not > be found. Using unknown version.] > qhull: yes [pkg-config information for 'qhull' could not be > found. Using local copy.] > > OPTIONAL SUBPACKAGES > sample_data: yes [installing] > toolkits: yes [installing] > tests: yes [nose 0.11.1 or later is required to run the > matplotlib test suite. pip/easy_install may attempt > to install it after matplotlib. / using > unittest.mock] > > OPTIONAL BACKEND EXTENSIONS > macosx: no [Mac OS-X only] > qt5agg: yes [installing, Qt: 5.2.1, PyQt: 5.2.1] > qt4agg: no [PyQt4 not found] > pyside: no [PySide not found] > gtk3agg: no [gtk3agg backend does not work on Python 3] > gtk3cairo: no [Requires cairocffi or pycairo to be installed.] > gtkagg: no [Requires pygtk] > tkagg: no [The C/C++ header for Tk (tk.h) could not be > found. You may need to install the development > package.] > wxagg: no [requires wxPython] > gtk: no [Requires pygtk] > agg: yes [installing] > cairo: no [cairocffi or pycairo not found] > windowing: yes [installing, installing] > > OPTIONAL LATEX DEPENDENCIES > dvipng: no > ghostscript: no > latex: no > pdftops: no > > running build > running build_py > copying lib\matplotlib\mpl-data\matplotlibrc -> > build\lib.win-amd64-3.3\matplotlib\mpl-data > running build_ext > building 'matplotlib.ft2font' extension > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\cl.exe /c /nologo > /Ox /MD /W3 /GS- /DNDEBUG -DPY_ARRAY_UN > IQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -DPYCXX_PYTHON_2TO3=1 -IC:\Python33\lib\site-pack > ages\numpy\core\include -I. -Iextern -IC:\Python33\include > -IC:\Python33\include /Tpsrc/ft2font.cpp /Fobuild\temp.wi > n-amd64-3.3\Release\src/ft2font.obj > ft2font.cpp > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323) > : warning C4530: C++ exception handler u > sed, but unwind semantics are not enabled. Specify /EHsc > c:\users\r4hr-dev\workspace\matplotlib\src\ft2font.h(16) : fatal error > C1083: Cannot open include file: 'ft2build.h' > : No such file or directory > error: command '"C:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\Bin\cl.exe"' failed with exit status 2 > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Alan E. <ala...@gm...> - 2014-06-26 00:52:43
|
Hi, I'm trying to build matplotlib (git master) on windows 7, Python 3.3,
with ms visual C++ 2010 SP1
The error I am getting is related to how it can't find ft2build.h but
after running freetype-2.3.5-1.setup.exe, there is now a copy of it under
C:\Program Files (x86)\GnuWin32\include
How do I tell setup.py to look there for the header file?
Any other hints building this building on Windows 7 would be appreciated.
[C:\Workspace\matplotlib]python setup.py build
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.x]
python: yes [3.3.5 (v3.3.5:62cf4e77f785, Mar 9 2014,
10:35:05) [MSC v.1600 64 bit (AMD64)]]
platform: yes [win32]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.1]
six: yes [using six version 1.7.2]
dateutil: yes [using dateutil version 2.2]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [using pyparsing version 2.0.2]
pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [Unknown version]
png: yes [pkg-config information for 'libpng' could not
be found. Using unknown version.]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. pip/easy_install may attempt
to install it after matplotlib. / using
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: yes [installing, Qt: 5.2.1, PyQt: 5.2.1]
qt4agg: no [PyQt4 not found]
pyside: no [PySide not found]
gtk3agg: no [gtk3agg backend does not work on Python 3]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: no [The C/C++ header for Tk (tk.h) could not be
found. You may need to install the development
package.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: yes [installing, installing]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
running build
running build_py
copying lib\matplotlib\mpl-data\matplotlibrc ->
build\lib.win-amd64-3.3\matplotlib\mpl-data
running build_ext
building 'matplotlib.ft2font' extension
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\cl.exe /c
/nologo /Ox /MD /W3 /GS- /DNDEBUG -DPY_ARRAY_UN
IQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-DPYCXX_PYTHON_2TO3=1 -IC:\Python33\lib\site-pack
ages\numpy\core\include -I. -Iextern -IC:\Python33\include
-IC:\Python33\include /Tpsrc/ft2font.cpp /Fobuild\temp.wi
n-amd64-3.3\Release\src/ft2font.obj
ft2font.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xlocale(323)
: warning C4530: C++ exception handler u
sed, but unwind semantics are not enabled. Specify /EHsc
c:\users\r4hr-dev\workspace\matplotlib\src\ft2font.h(16) : fatal error
C1083: Cannot open include file: 'ft2build.h'
: No such file or directory
error: command '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\cl.exe"' failed with exit status 2
|