You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Michael D. <md...@st...> - 2013-05-13 13:51:49
|
Today is the day scheduled to be the feature freeze for 1.3.0. We should get all PRs that are close to ready for inclusion tagged as 1.3.0 (or 1.3.x blocker if they represent a serious bug). At the moment, we have 8 blocker bugs, of which only 3 of which seem to require much much effort at this point. We have 27 non-blocker PRs. I probably won't create a 1.3.x branch just yet, so things for 1.3.0 can just get merged into master for now, and things that are for post-1.3.0 should be held off for the time being. Once we have the PRs down to a manageable number, I will create a branch and let everyone know here. Thanks again for all your help, and I look forward to seeing you at Scipy! Mike |
From: Alexander H. <mat...@2s...> - 2013-05-10 07:56:17
|
from the current version. this causes trouble if the axis is very big, with values of, day 1e35. diff -u /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py~ /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py --- /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py~ 2013-05-10 16:43:44.000000000 +1000 +++ /home/alex/mpl/usr/lib64/python3.3/site-packages/matplotlib/ticker.py 2013-05-10 17:44:35.385288785 +1000 @@ -536,7 +536,7 @@ _locs = list(self.locs) + [vmin, vmax] else: _locs = self.locs - locs = (np.asarray(_locs) - self.offset) / 10 ** self.orderOfMagnitude + locs = (np.asarray(_locs) - self.offset) / 10. ** self.orderOfMagnitude loc_range = np.ptp(locs) if len(self.locs) < 2: # We needed the end points only for the loc_range calculation. |
From: rad <rad...@gm...> - 2013-05-08 16:33:53
|
Thanks Mike! yum-builddep python-matplotlib did not fix the problem but installing the headers did the trick: sudo yum install libpng-devel It installed successfully now :) Rad -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41026.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: Michael D. <md...@st...> - 2013-05-08 15:51:30
|
On 05/07/2013 11:53 AM, rad wrote: > Try -- > > yum install freetype-devel > > This installed successfully. > > Or as a shortcut to get all of the build dependencies installed: > > yum-builddep python-matplotlib I'm not sure why this is failing for you -- I've never had that fail in that way on Fedora, but perhaps there's something different about centos. The error below is because you don't have the libpng headers installed. Try: yum install libpng-devel Mike > > This ended with: > > (mandala)[webalert@localhost ~]$ sudo yum-builddep python-matplotlib > [sudo] password for webalert: > Loaded plugins: fastestmirror, refresh-packagekit > Loading mirror speeds from cached hostfile > * base: centos.mirror.ca.planethoster.net > * extras: mirror.science.uottawa.ca > * rpmforge: mirror.team-cymru.org > * updates: centos.mirror.ca.planethoster.net > Checking for new repos for mirrors > No source RPM found for python-matplotlib-0.99.1.2-1.el6.x86_64 > No uninstalled build requires > > Still running into the error: > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c > agg24/src/agg_trans_affine.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c > agg24/src/agg_image_filters.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c > agg24/src/agg_bezier_arc.cpp -o > build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxxsupport.cxx -o > build/temp.linux-x86_64-2.6/CXX/cxxsupport.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxx_extensions.cxx > -o build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c > CXX/IndirectPythonInterface.cxx -o > build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxxextensions.c -o > build/temp.linux-x86_64-2.6/CXX/cxxextensions.o > > g++ -pthread -shared build/temp.linux-x86_64-2.6/src/image.o > build/temp.linux-x86_64-2.6/src/mplutils.o > build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o > build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o > build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o > build/temp.linux-x86_64-2.6/CXX/cxxsupport.o > build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o > build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o > build/temp.linux-x86_64-2.6/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib > -L/usr/local/lib64 -L/usr/lib64 -L/usr/lib64 -lstdc++ -lm -lpython2.6 -o > build/lib.linux-x86_64-2.6/matplotlib/_image.so > > building 'matplotlib._png' extension > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I. -I/usr/include/python2.6 -c src/_png.cpp -o > build/temp.linux-x86_64-2.6/src/_png.o > > src/_png.cpp:10:20: error: png.h: No such file or directory > > In file included from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, > > from src/_png.cpp:28: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: > warning: #warning "Using deprecated NumPy API, disable it by #defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" > > In file included from src/file_compat.h:4, > > from src/_png.cpp:30: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: > warning: deprecated conversion from string constant to ‘char*’ > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘int npy_PyFile_CloseFile(PyObject*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: > warning: deprecated conversion from string constant to ‘char*’ > > src/_png.cpp: At global scope: > > src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void > > src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope > > src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope > > src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: > warning: ‘int _import_array()’ defined but not used > > error: command 'gcc' failed with exit status 1 > > ---------------------------------------- > Command /home/webalert/.virtualenvs/mandala/bin/python -c "import > setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-5AdrTx-record/install-record.txt > --single-version-externally-managed --install-headers > /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error > code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib > Storing complete log in /home/webalert/.pip/pip.log > (mandala)[webalert@localhost ~]$ sudo yum-builddep python-matplotlib > [sudo] password for webalert: > Loaded plugins: fastestmirror, refresh-packagekit > Loading mirror speeds from cached hostfile > * base: centos.mirror.ca.planethoster.net > * extras: mirror.science.uottawa.ca > * rpmforge: mirror.team-cymru.org > * updates: centos.mirror.ca.planethoster.net > Checking for new repos for mirrors > No source RPM found for python-matplotlib-0.99.1.2-1.el6.x86_64 > No uninstalled build requires > (mandala)[webalert@localhost ~]$ pip install matplotlib > Downloading/unpacking matplotlib > Running setup.py egg_info for package matplotlib > basedirlist is: ['/usr/local', '/usr'] > > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.2.1 > python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC > 4.4.7 20120313 (Red Hat 4.4.7-3)] > platform: linux2 > > REQUIRED DEPENDENCIES > numpy: 1.7.1 > freetype2: 9.22.3 > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > * Could not find 'libpng' headers in any of > * '/usr/local/include', '/usr/include', > * '/usr/local/include', '/usr/include', '.' > Tkinter: no > * TKAgg requires Tkinter > Gtk+: no > * Building for Gtk+ requires pygtk; you must be > able > * to "import gtk" in your build/install > environment > Mac OS X native: no > Qt: no > Qt4: no > PySide: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > dateutil: matplotlib will provide > pytz: matplotlib will provide > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: 8.70 > latex: no > pdftops: 0.12.4 > > [Edit setup.cfg to suppress the above messages] > > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', > 'matplotlib.backends.qt4_editor', 'matplotlib.projections', > 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', > 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', > 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', > 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', > 'dateutil', 'dateutil.zoneinfo'] > warning: no files found matching 'KNOWN_BUGS' > warning: no files found matching 'INTERACTIVE' > warning: no files found matching 'make.osx' > warning: no files found matching 'MANIFEST' > warning: no files found matching '__init__.py' > warning: no files found matching 'examples/data/*' > warning: no files found matching 'lib/mpl_toolkits' > warning: no files found matching > 'lib/matplotlib/mpl-data/matplotlib.conf' > warning: no files found matching > 'lib/matplotlib/mpl-data/matplotlib.conf.template' > warning: manifest_maker: MANIFEST.in, line 16: 'recursive-include' > expects <dir> <pattern1> <pattern2> ... > warning: no files found matching 'LICENSE*' under directory 'license' > Installing collected packages: matplotlib > Running setup.py install for matplotlib > basedirlist is: ['/usr/local', '/usr'] > > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 1.2.1 > python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC > 4.4.7 20120313 (Red Hat 4.4.7-3)] > platform: linux2 > > REQUIRED DEPENDENCIES > numpy: 1.7.1 > freetype2: 9.22.3 > > OPTIONAL BACKEND DEPENDENCIES > libpng: found, but unknown version (no pkg-config) > * Could not find 'libpng' headers in any of > * '/usr/local/include', '/usr/include', > * '/usr/local/include', '/usr/include', '.' > Tkinter: no > * TKAgg requires Tkinter > Gtk+: no > * Building for Gtk+ requires pygtk; you must be > able > * to "import gtk" in your build/install > environment > Mac OS X native: no > Qt: no > Qt4: no > PySide: no > Cairo: no > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > dateutil: matplotlib will provide > pytz: matplotlib will provide > > OPTIONAL USETEX DEPENDENCIES > dvipng: no > ghostscript: 8.70 > latex: no > pdftops: 0.12.4 > > [Edit setup.cfg to suppress the above messages] > > ============================================================================ > pymods ['pylab'] > packages ['matplotlib', 'matplotlib.backends', > 'matplotlib.backends.qt4_editor', 'matplotlib.projections', > 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', > 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', > 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', > 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', > 'dateutil', 'dateutil.zoneinfo'] > building 'matplotlib._png' extension > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include > -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I. -I/usr/include/python2.6 -c src/_png.cpp -o > build/temp.linux-x86_64-2.6/src/_png.o > src/_png.cpp:10:20: error: png.h: No such file or directory > In file included from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, > from src/_png.cpp:28: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: > warning: #warning "Using deprecated NumPy API, disable it by #defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" > In file included from src/file_compat.h:4, > from src/_png.cpp:30: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: > warning: deprecated conversion from string constant to ‘char*’ > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘int npy_PyFile_CloseFile(PyObject*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: > warning: deprecated conversion from string constant to ‘char*’ > src/_png.cpp: At global scope: > src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void > src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope > src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope > src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: > warning: ‘int _import_array()’ defined but not used > error: command 'gcc' failed with exit status 1 > Complete output from command > /home/webalert/.virtualenvs/mandala/bin/python -c "import > setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-9i4ni6-record/install-record.txt > --single-version-externally-managed --install-headers > /home/webalert/.virtualenvs/mandala/include/site/python2.6: > basedirlist is: ['/usr/local', '/usr'] > > ============================================================================ > > BUILDING MATPLOTLIB > > matplotlib: 1.2.1 > > python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC > > 4.4.7 20120313 (Red Hat 4.4.7-3)] > > platform: linux2 > > > > REQUIRED DEPENDENCIES > > numpy: 1.7.1 > > freetype2: 9.22.3 > > > > OPTIONAL BACKEND DEPENDENCIES > > libpng: found, but unknown version (no pkg-config) > > * Could not find 'libpng' headers in any of > > * '/usr/local/include', '/usr/include', > > * '/usr/local/include', '/usr/include', '.' > > Tkinter: no > > * TKAgg requires Tkinter > > Gtk+: no > > * Building for Gtk+ requires pygtk; you must be able > > * to "import gtk" in your build/install environment > > Mac OS X native: no > > Qt: no > > Qt4: no > > PySide: no > > Cairo: no > > > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > > dateutil: matplotlib will provide > > pytz: matplotlib will provide > > > > OPTIONAL USETEX DEPENDENCIES > > dvipng: no > > ghostscript: 8.70 > > latex: no > > pdftops: 0.12.4 > > > > [Edit setup.cfg to suppress the above messages] > > ============================================================================ > > pymods ['pylab'] > > packages ['matplotlib', 'matplotlib.backends', > 'matplotlib.backends.qt4_editor', 'matplotlib.projections', > 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', > 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', > 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', > 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', > 'dateutil', 'dateutil.zoneinfo'] > > running install > > running build > > running build_py > > copying lib/matplotlib/mpl-data/matplotlibrc -> > build/lib.linux-x86_64-2.6/matplotlib/mpl-data > > running build_ext > > building 'matplotlib._png' extension > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I. > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I. -I/usr/include/python2.6 -c src/_png.cpp -o > build/temp.linux-x86_64-2.6/src/_png.o > > src/_png.cpp:10:20: error: png.h: No such file or directory > > In file included from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, > > from src/_png.cpp:28: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: > warning: #warning "Using deprecated NumPy API, disable it by #defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" > > In file included from src/file_compat.h:4, > > from src/_png.cpp:30: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: > warning: deprecated conversion from string constant to ‘char*’ > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: > In function ‘int npy_PyFile_CloseFile(PyObject*)’: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: > warning: deprecated conversion from string constant to ‘char*’ > > src/_png.cpp: At global scope: > > src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void > > src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope > > src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope > > src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: > warning: ‘int _import_array()’ defined but not used > > error: command 'gcc' failed with exit status 1 > > ---------------------------------------- > Command /home/webalert/.virtualenvs/mandala/bin/python -c "import > setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-9i4ni6-record/install-record.txt > --single-version-externally-managed --install-headers > /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error > code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib > Storing complete log in /home/webalert/.pip/pip.log > (mandala)[webalert@localhost ~]$ > > > Could it be libpng? > > > > > -- > View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41019.html > Sent from the matplotlib - devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: rad <rad...@gm...> - 2013-05-08 15:43:53
|
Anything else I can try to get this going? Is the OS the problem? I am using CentOS x64 6.4 Final -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41023.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: rad <rad...@gm...> - 2013-05-07 15:53:34
|
Try -- yum install freetype-devel This installed successfully. Or as a shortcut to get all of the build dependencies installed: yum-builddep python-matplotlib This ended with: (mandala)[webalert@localhost ~]$ sudo yum-builddep python-matplotlib [sudo] password for webalert: Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.mirror.ca.planethoster.net * extras: mirror.science.uottawa.ca * rpmforge: mirror.team-cymru.org * updates: centos.mirror.ca.planethoster.net Checking for new repos for mirrors No source RPM found for python-matplotlib-0.99.1.2-1.el6.x86_64 No uninstalled build requires Still running into the error: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c agg24/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c agg24/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c agg24/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.6/CXX/cxxsupport.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxx_extensions.cxx -o build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/IndirectPythonInterface.cxx -o build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/include/python2.6 -c CXX/cxxextensions.c -o build/temp.linux-x86_64-2.6/CXX/cxxextensions.o g++ -pthread -shared build/temp.linux-x86_64-2.6/src/image.o build/temp.linux-x86_64-2.6/src/mplutils.o build/temp.linux-x86_64-2.6/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.6/agg24/src/agg_image_filters.o build/temp.linux-x86_64-2.6/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.6/CXX/cxxsupport.o build/temp.linux-x86_64-2.6/CXX/cxx_extensions.o build/temp.linux-x86_64-2.6/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.6/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/local/lib64 -L/usr/lib64 -L/usr/lib64 -lstdc++ -lm -lpython2.6 -o build/lib.linux-x86_64-2.6/matplotlib/_image.so building 'matplotlib._png' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I. -I/usr/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o src/_png.cpp:10:20: error: png.h: No such file or directory In file included from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, from src/_png.cpp:28: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from src/file_compat.h:4, from src/_png.cpp:30: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: warning: deprecated conversion from string constant to ‘char*’ /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: warning: deprecated conversion from string constant to ‘char*’ src/_png.cpp: At global scope: src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/webalert/.virtualenvs/mandala/bin/python -c "import setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5AdrTx-record/install-record.txt --single-version-externally-managed --install-headers /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib Storing complete log in /home/webalert/.pip/pip.log (mandala)[webalert@localhost ~]$ sudo yum-builddep python-matplotlib [sudo] password for webalert: Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: centos.mirror.ca.planethoster.net * extras: mirror.science.uottawa.ca * rpmforge: mirror.team-cymru.org * updates: centos.mirror.ca.planethoster.net Checking for new repos for mirrors No source RPM found for python-matplotlib-0.99.1.2-1.el6.x86_64 No uninstalled build requires (mandala)[webalert@localhost ~]$ pip install matplotlib Downloading/unpacking matplotlib Running setup.py egg_info for package matplotlib basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.2.1 python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.7.1 freetype2: 9.22.3 OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: no Qt: no Qt4: no PySide: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: 8.70 latex: no pdftops: 0.12.4 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo'] warning: no files found matching 'KNOWN_BUGS' warning: no files found matching 'INTERACTIVE' warning: no files found matching 'make.osx' warning: no files found matching 'MANIFEST' warning: no files found matching '__init__.py' warning: no files found matching 'examples/data/*' warning: no files found matching 'lib/mpl_toolkits' warning: no files found matching 'lib/matplotlib/mpl-data/matplotlib.conf' warning: no files found matching 'lib/matplotlib/mpl-data/matplotlib.conf.template' warning: manifest_maker: MANIFEST.in, line 16: 'recursive-include' expects <dir> <pattern1> <pattern2> ... warning: no files found matching 'LICENSE*' under directory 'license' Installing collected packages: matplotlib Running setup.py install for matplotlib basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.2.1 python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.7.1 freetype2: 9.22.3 OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: no Qt: no Qt4: no PySide: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: 8.70 latex: no pdftops: 0.12.4 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo'] building 'matplotlib._png' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I. -I/usr/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o src/_png.cpp:10:20: error: png.h: No such file or directory In file included from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, from src/_png.cpp:28: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from src/file_compat.h:4, from src/_png.cpp:30: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: warning: deprecated conversion from string constant to ‘char*’ /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: warning: deprecated conversion from string constant to ‘char*’ src/_png.cpp: At global scope: src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 Complete output from command /home/webalert/.virtualenvs/mandala/bin/python -c "import setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9i4ni6-record/install-record.txt --single-version-externally-managed --install-headers /home/webalert/.virtualenvs/mandala/include/site/python2.6: basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.2.1 python: 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] platform: linux2 REQUIRED DEPENDENCIES numpy: 1.7.1 freetype2: 9.22.3 OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of * '/usr/local/include', '/usr/include', * '/usr/local/include', '/usr/include', '.' Tkinter: no * TKAgg requires Tkinter Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: no Qt: no Qt4: no PySide: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: 8.70 latex: no pdftops: 0.12.4 [Edit setup.cfg to suppress the above messages] ============================================================================ pymods ['pylab'] packages ['matplotlib', 'matplotlib.backends', 'matplotlib.backends.qt4_editor', 'matplotlib.projections', 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests', 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid', 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist', 'matplotlib.sphinxext', 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil', 'dateutil.zoneinfo'] running install running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.6/matplotlib/mpl-data running build_ext building 'matplotlib._png' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I. -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I. -I/usr/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o src/_png.cpp:10:20: error: png.h: No such file or directory In file included from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, from src/_png.cpp:28: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from src/file_compat.h:4, from src/_png.cpp:30: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘PyObject* npy_PyFile_OpenFile(PyObject*, const char*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:247: warning: deprecated conversion from string constant to ‘char*’ /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h: In function ‘int npy_PyFile_CloseFile(PyObject*)’: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_3kcompat.h:255: warning: deprecated conversion from string constant to ‘char*’ src/_png.cpp: At global scope: src/_png.cpp:67: error: variable or field ‘write_png_data’ declared void src/_png.cpp:67: error: ‘png_structp’ was not declared in this scope src/_png.cpp:67: error: ‘png_bytep’ was not declared in this scope src/_png.cpp:67: error: ‘png_size_t’ was not declared in this scope /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/webalert/.virtualenvs/mandala/bin/python -c "import setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9i4ni6-record/install-record.txt --single-version-externally-managed --install-headers /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib Storing complete log in /home/webalert/.pip/pip.log (mandala)[webalert@localhost ~]$ Could it be libpng? -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41019.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: Michael D. <md...@st...> - 2013-05-06 21:42:35
|
It looks like you don't have the freetype development headers installed. Try -- yum install freetype-devel Or as a shortcut to get all of the build dependencies installed: yum-builddep python-matplotlib Mike On 05/06/2013 05:01 PM, rad wrote: > I was able to install everything with pip except for sqlite and matplotlib. > > Downloading/unpacking matplotlib > Downloading matplotlib-1.2.1.tar.gz (38 > > > Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) > [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import numpy >>>> numpy.__version__ > '1.7.1' > This here is the complete error message: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > copying lib/pytz/zoneinfo/Africa/Bujumbura -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Mbabane -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Harare -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Asmera -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Ceuta -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Tunis -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Abidjan -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Lubumbashi -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Timbuktu -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Conakry -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Kinshasa -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Libreville -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Sao_Tome -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Douala -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Nairobi -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Porto-Novo -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Cairo -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Algiers -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Tripoli -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Luanda -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Brazzaville -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Maseru -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Bamako -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Accra -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Johannesburg -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Lagos -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Windhoek -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Lome -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Niamey -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Kigali -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Bissau -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Maputo -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Ndjamena -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Juba -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Asmara -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Nouakchott -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Ouagadougou -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Casablanca -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Kampala -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Dar_es_Salaam -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Bangui -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Freetown -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Dakar -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Gaborone -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Lusaka -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Addis_Ababa -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Monrovia -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > copying lib/pytz/zoneinfo/Africa/Banjul -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Saipan -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Honolulu -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Easter -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Port_Moresby -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Guam -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Palau -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Apia -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Ponape -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Enderbury -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Guadalcanal -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Rarotonga -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Kosrae -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Fakaofo -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Kwajalein -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Fiji -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Galapagos -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Pohnpei -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Marquesas -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Efate -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Chuuk -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Majuro -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Johnston -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Truk -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Norfolk -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Wallis -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Niue -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Kiritimati -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Tahiti -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Noumea -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Samoa -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Nauru -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Funafuti -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Tarawa -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Pitcairn -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Yap -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Gambier -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Chatham -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Tongatapu -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Auckland -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Pago_Pago -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Wake -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > copying lib/pytz/zoneinfo/Pacific/Midway -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Christmas -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Antananarivo -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Kerguelen -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Chagos -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Mayotte -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Mauritius -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Maldives -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Mahe -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Comoro -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Reunion -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > copying lib/pytz/zoneinfo/Indian/Cocos -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile > > copying lib/pytz/zoneinfo/Chile/EasterIsland -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile > > copying lib/pytz/zoneinfo/Chile/Continental -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast > > copying lib/pytz/zoneinfo/Mideast/Riyadh89 -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast > > copying lib/pytz/zoneinfo/Mideast/Riyadh88 -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast > > copying lib/pytz/zoneinfo/Mideast/Riyadh87 -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico > > copying lib/pytz/zoneinfo/Mexico/BajaNorte -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico > > copying lib/pytz/zoneinfo/Mexico/BajaSur -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico > > copying lib/pytz/zoneinfo/Mexico/General -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Arizona -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Aleutian -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Mountain -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Eastern -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Hawaii -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Pacific -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/East-Indiana -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Alaska -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Samoa -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Pacific-New -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Michigan -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Indiana-Starke -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > copying lib/pytz/zoneinfo/US/Central -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/US > > creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Yukon -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Newfoundland -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Mountain -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Eastern -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Atlantic -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Pacific -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Saskatchewan -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/East-Saskatchewan -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/pytz/zoneinfo/Canada/Central -> > build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada > > copying lib/dateutil_py2/zoneinfo/zoneinfo-2010g.tar.gz -> > build/lib.linux-x86_64-2.6/dateutil/zoneinfo > > running build_ext > > building 'matplotlib.ft2font' extension > > creating build/temp.linux-x86_64-2.6 > > creating build/temp.linux-x86_64-2.6/src > > creating build/temp.linux-x86_64-2.6/CXX > > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic > -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/local/include -I/usr/include > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 > -I/usr/include/freetype2 > -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/python2.6 -c src/ft2font.cpp -o > build/temp.linux-x86_64-2.6/src/ft2font.o > > In file included from src/ft2font.cpp:3: > > src/ft2font.h:16:22: error: ft2build.h: No such file or directory > > src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> > > src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> > > src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME> > > src/ft2font.h:20:10: error: #include expects "FILENAME" or <FILENAME> > > src/ft2font.h:21:10: error: #include expects "FILENAME" or <FILENAME> > > In file included from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > > from > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, > > from src/ft2font.cpp:7: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: > warning: #warning "Using deprecated NumPy API, disable it by #defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" > > In file included from src/ft2font.cpp:3: > > src/ft2font.h:34: error: ‘FT_Bitmap’ has not been declared > > src/ft2font.h:34: error: ‘FT_Int’ has not been declared > > src/ft2font.h:34: error: ‘FT_Int’ has not been declared > > src/ft2font.h:86: error: ISO C++ forbids declaration of ‘FT_Face’ with no > type > > src/ft2font.h:86: error: expected ‘,’ or ‘...’ before ‘&’ token > > src/ft2font.h:132: error: ‘FT_Face’ does not name a type > > src/ft2font.h:133: error: ‘FT_Matrix’ does not name a type > > src/ft2font.h:134: error: ‘FT_Vector’ does not name a type > > src/ft2font.h:135: error: ‘FT_Error’ does not name a type > > src/ft2font.h:136: error: ‘FT_Glyph’ was not declared in this scope > > src/ft2font.h:136: error: template argument 1 is invalid > > src/ft2font.h:136: error: template argument 2 is invalid > > src/ft2font.h:137: error: ‘FT_Vector’ was not declared in this scope > > src/ft2font.h:137: error: template argument 1 is invalid > > src/ft2font.h:137: error: template argument 2 is invalid > > src/ft2font.h:143: error: ‘FT_BBox’ does not name a type > > src/ft2font.cpp:41: error: ‘FT_Library’ does not name a type > > src/ft2font.cpp:106: error: variable or field ‘draw_bitmap’ declared void > > src/ft2font.cpp:106: error: ‘FT_Bitmap’ was not declared in this scope > > src/ft2font.cpp:106: error: ‘bitmap’ was not declared in this scope > > src/ft2font.cpp:107: error: ‘FT_Int’ was not declared in this scope > > src/ft2font.cpp:108: error: ‘FT_Int’ was not declared in this scope > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: > warning: ‘int _import_array()’ defined but not used > > error: command 'gcc' failed with exit status 1 > > ---------------------------------------- > Command /home/webalert/.virtualenvs/mandala/bin/python -c "import > setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-7N0x5g-record/install-record.txt > --single-version-externally-managed --install-headers > /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error > code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib > Storing complete log in /home/webalert/.pip/pip.log > > > it looks to be complaining about some of the dependencies but keeps going. > > > > -- > View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41010.html > Sent from the matplotlib - devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: rad <rad...@gm...> - 2013-05-06 21:01:58
|
I was able to install everything with pip except for sqlite and matplotlib. Downloading/unpacking matplotlib Downloading matplotlib-1.2.1.tar.gz (38 Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.__version__ '1.7.1' >>> This here is the complete error message: copying lib/pytz/zoneinfo/Africa/Bujumbura -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Mbabane -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Harare -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Asmera -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Ceuta -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Tunis -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Abidjan -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Lubumbashi -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Timbuktu -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Conakry -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Kinshasa -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Libreville -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Sao_Tome -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Douala -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Nairobi -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Porto-Novo -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Cairo -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Algiers -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Tripoli -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Luanda -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Brazzaville -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Maseru -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Bamako -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Accra -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Johannesburg -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Lagos -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Windhoek -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Lome -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Niamey -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Kigali -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Bissau -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Maputo -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Ndjamena -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Juba -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Asmara -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Nouakchott -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Ouagadougou -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Casablanca -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Kampala -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Dar_es_Salaam -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Bangui -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Freetown -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Dakar -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Gaborone -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Lusaka -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Addis_Ababa -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Monrovia -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa copying lib/pytz/zoneinfo/Africa/Banjul -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Africa creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Saipan -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Honolulu -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Easter -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Port_Moresby -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Guam -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Palau -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Apia -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Ponape -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Enderbury -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Guadalcanal -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Rarotonga -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Kosrae -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Fakaofo -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Kwajalein -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Fiji -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Galapagos -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Pohnpei -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Marquesas -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Efate -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Chuuk -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Majuro -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Johnston -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Truk -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Norfolk -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Wallis -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Niue -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Kiritimati -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Tahiti -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Noumea -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Samoa -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Nauru -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Funafuti -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Tarawa -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Pitcairn -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Yap -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Gambier -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Chatham -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Tongatapu -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Auckland -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Pago_Pago -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Wake -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific copying lib/pytz/zoneinfo/Pacific/Midway -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Pacific creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Christmas -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Antananarivo -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Kerguelen -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Chagos -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Mayotte -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Mauritius -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Maldives -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Mahe -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Comoro -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Reunion -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian copying lib/pytz/zoneinfo/Indian/Cocos -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Indian creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile copying lib/pytz/zoneinfo/Chile/EasterIsland -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile copying lib/pytz/zoneinfo/Chile/Continental -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Chile creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast copying lib/pytz/zoneinfo/Mideast/Riyadh89 -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast copying lib/pytz/zoneinfo/Mideast/Riyadh88 -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast copying lib/pytz/zoneinfo/Mideast/Riyadh87 -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mideast creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico copying lib/pytz/zoneinfo/Mexico/BajaNorte -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico copying lib/pytz/zoneinfo/Mexico/BajaSur -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico copying lib/pytz/zoneinfo/Mexico/General -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Mexico creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Arizona -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Aleutian -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Mountain -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Eastern -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Hawaii -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Pacific -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/East-Indiana -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Alaska -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Samoa -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Pacific-New -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Michigan -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Indiana-Starke -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US copying lib/pytz/zoneinfo/US/Central -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/US creating build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Yukon -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Newfoundland -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Mountain -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Eastern -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Atlantic -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Pacific -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Saskatchewan -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/East-Saskatchewan -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/pytz/zoneinfo/Canada/Central -> build/lib.linux-x86_64-2.6/pytz/zoneinfo/Canada copying lib/dateutil_py2/zoneinfo/zoneinfo-2010g.tar.gz -> build/lib.linux-x86_64-2.6/dateutil/zoneinfo running build_ext building 'matplotlib.ft2font' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/src creating build/temp.linux-x86_64-2.6/CXX gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 -I/usr/include/python2.6 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.6/src/ft2font.o In file included from src/ft2font.cpp:3: src/ft2font.h:16:22: error: ft2build.h: No such file or directory src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:20:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:21:10: error: #include expects "FILENAME" or <FILENAME> In file included from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15, from src/ft2font.cpp:7: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" In file included from src/ft2font.cpp:3: src/ft2font.h:34: error: ‘FT_Bitmap’ has not been declared src/ft2font.h:34: error: ‘FT_Int’ has not been declared src/ft2font.h:34: error: ‘FT_Int’ has not been declared src/ft2font.h:86: error: ISO C++ forbids declaration of ‘FT_Face’ with no type src/ft2font.h:86: error: expected ‘,’ or ‘...’ before ‘&’ token src/ft2font.h:132: error: ‘FT_Face’ does not name a type src/ft2font.h:133: error: ‘FT_Matrix’ does not name a type src/ft2font.h:134: error: ‘FT_Vector’ does not name a type src/ft2font.h:135: error: ‘FT_Error’ does not name a type src/ft2font.h:136: error: ‘FT_Glyph’ was not declared in this scope src/ft2font.h:136: error: template argument 1 is invalid src/ft2font.h:136: error: template argument 2 is invalid src/ft2font.h:137: error: ‘FT_Vector’ was not declared in this scope src/ft2font.h:137: error: template argument 1 is invalid src/ft2font.h:137: error: template argument 2 is invalid src/ft2font.h:143: error: ‘FT_BBox’ does not name a type src/ft2font.cpp:41: error: ‘FT_Library’ does not name a type src/ft2font.cpp:106: error: variable or field ‘draw_bitmap’ declared void src/ft2font.cpp:106: error: ‘FT_Bitmap’ was not declared in this scope src/ft2font.cpp:106: error: ‘bitmap’ was not declared in this scope src/ft2font.cpp:107: error: ‘FT_Int’ was not declared in this scope src/ft2font.cpp:108: error: ‘FT_Int’ was not declared in this scope /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/webalert/.virtualenvs/mandala/bin/python -c "import setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-7N0x5g-record/install-record.txt --single-version-externally-managed --install-headers /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib Storing complete log in /home/webalert/.pip/pip.log it looks to be complaining about some of the dependencies but keeps going. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41010.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: Michael D. <md...@st...> - 2013-05-06 20:39:34
|
On 05/06/2013 01:20 PM, rad wrote: > I am using the virtualenvwrapper and am installing this in a new virtualenv. > I also tried installing it locally but failed with the same error: > > /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: > warning: ‘int _import_array()’ defined but not used > > error: command 'gcc' failed with exit status 1 It's very odd that gcc is quitting with an error but only emitting a warning. Can you include the gcc command that was run (it should be a long line immediately above what you've excerpted here). > > ---------------------------------------- > Command /home/webalert/.virtualenvs/mandala/bin/python -c "import > setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-aybCcz-record/install-record.txt > --single-version-externally-managed --install-headers > /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error > code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib > Storing complete log in /home/webalert/.pip/pip.log > > And from the pip.log : > > status = self.run(options, args) > File > "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/commands/install.py", > line 271, in run > requirement_set.install(install_options, global_options, > root=options.root_path) > File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/req.py", > line 1185, in install > requirement.install(install_options, global_options, *args, **kwargs) > File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/req.py", > line 592, in install > cwd=self.source_dir, filter_stdout=self._filter_install, > show_stdout=False) > File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/util.py", > line 662, in call_subprocess > % (command_desc, proc.returncode, cwd)) > InstallationError: Command /usr/bin/python -c "import > setuptools;__file__='/tmp/pip-build-webalert/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', > '\n'), __file__, 'exec'))" install --record > /tmp/pip-AnrXxv-record/install-record.txt > --single-version-externally-managed failed with error code 1 in > /tmp/pip-build-webalert/matplotlib I have no idea what this means, but it looks pretty internal to pip and setuptools. Does pip work to install other packages? > > > I tried to install "Development Tools", and gcc: yum install gcc-c++ > compat-gcc-32 compat-gcc-32-c++ > > This did not resolve the issue. Is the problem an incompatible version of > numpy? Any help would be appreciated. What version of Numpy do you have installed? Mike > > > > > -- > View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007.html > Sent from the matplotlib - devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: rad <rad...@gm...> - 2013-05-06 17:28:23
|
Also when installing it locally NOT using pip, it worked sudo yum install python-matplotlib I do want to install it into my virtualenv however. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007p41008.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: rad <rad...@gm...> - 2013-05-06 17:21:03
|
I am using the virtualenvwrapper and am installing this in a new virtualenv. I also tried installing it locally but failed with the same error: /home/webalert/.virtualenvs/mandala/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1594: warning: ‘int _import_array()’ defined but not used error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/webalert/.virtualenvs/mandala/bin/python -c "import setuptools;__file__='/home/webalert/.virtualenvs/mandala/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-aybCcz-record/install-record.txt --single-version-externally-managed --install-headers /home/webalert/.virtualenvs/mandala/include/site/python2.6 failed with error code 1 in /home/webalert/.virtualenvs/mandala/build/matplotlib Storing complete log in /home/webalert/.pip/pip.log And from the pip.log : status = self.run(options, args) File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/commands/install.py", line 271, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/req.py", line 1185, in install requirement.install(install_options, global_options, *args, **kwargs) File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/req.py", line 592, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "/usr/lib/python2.6/site-packages/pip-1.3.1-py2.6.egg/pip/util.py", line 662, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-webalert/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AnrXxv-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-webalert/matplotlib I tried to install "Development Tools", and gcc: yum install gcc-c++ compat-gcc-32 compat-gcc-32-c++ This did not resolve the issue. Is the problem an incompatible version of numpy? Any help would be appreciated. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/getting-error-command-gcc-failed-with-exit-status-1-while-installing-matplotlib-in-CentOS-tp41007.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: Michael D. <md...@st...> - 2013-04-29 17:28:35
|
There was some discussion about CocoaAgg in a bug report today that reminded me it's probably time to clean up our backend house again, so I've filed a meta-issue and milestoned it for 1.3.x. https://github.com/matplotlib/matplotlib/issues/1961 Mike |
From: Benjamin R. <ben...@ou...> - 2013-04-17 13:46:11
|
Hans, If you submit it as a Pull Request, we can comment in-line with the code. For the most part, things look fine except for some whitespace errors. Ben Root On Wed, Apr 17, 2013 at 9:29 AM, Hans Dembinski <han...@ki...>wrote: > Hi all, > > I have written a patch in order to set the length of cap lines in > errorbar plots via rcParams. I would like to see this feature in the > master branch. > > Please review my code > > https://github.com/HDembinski/matplotlib/compare/capsize-default > > Regards, > Hans > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Hans D. <han...@ki...> - 2013-04-17 13:30:24
|
Hi all, I have written a patch in order to set the length of cap lines in errorbar plots via rcParams. I would like to see this feature in the master branch. Please review my code https://github.com/HDembinski/matplotlib/compare/capsize-default Regards, Hans |
From: Pierre H. <pie...@cr...> - 2013-04-17 12:31:57
|
Hi, Le 16/04/2013 15:41, Detlef Maurel (IKP) a écrit : > this works for me, too. Strange... I get the problem with the attached > dataset using the command > > hist(loadtxt("data.txt"),bins=300,histtype="step") Indeed, I could reproduce your problem using your specific dataset. The automated selection of ylim is not working as expected, and I don't know why ! best, Pierre |
From: Derek H. <de...@as...> - 2013-04-16 16:17:29
|
Hi Michiel, On 16.04.2013, at 12:03AM, Michiel de Hoon <mjl...@ya...> wrote: > Can you perhaps ask the Fink developers to provide a framework installation of Python? Most matplotlib users who ran into framework-related bugs were Fink users. I've already looked for that in the list archives and it seems this topic comes up about once a year when some other package broke with the non-framework build. Changing the build does not seem a particular problem, but was always declined as it would mean all (or a large number) of the other Python-dependent packages would have to be fixed at the same time. But I can of course bring this up for discussion again pointing out that the macosx backend support is going to be discontinued. Cheers, Derek |
From: Detlef M. (IKP) <det...@ki...> - 2013-04-16 13:42:10
|
On 16.04.2013 14:58, Pierre Haessig wrote: > Hi, > > Le 16/04/2013 12:14, Detlef Maurel (IKP) a écrit : >> there seems to be a bug in in pyplot.hist when using histtype="step". >> >> I am plotting the attached data to a histogram (see 1.png). In this >> case I set the limits on the y axis manually. >> >> When I don't do this (let the hist function choose the limits), I get >> the picture in the file 2.png. Only the highest bin is drawn. To be >> exact, ymin=second highest value, ymax=highest value. > Can you also send a minimal code that reproduces the bug. I just tried a > hist(x, histtype='step') command, with x being a random vector and it > works fine. > this works for me, too. Strange... I get the problem with the attached dataset using the command hist(loadtxt("data.txt"),bins=300,histtype="step") When I plot only a subset of the data (first/second/third/... thousand numbers), the histogram looks fine. It seems it gets wrong when more than roughly 2000 numbers are used. I will try to dig more into this and let you know if I find something. cheers Detlef |
From: Pierre H. <pie...@cr...> - 2013-04-16 13:16:54
|
Hi, Le 16/04/2013 12:14, Detlef Maurel (IKP) a écrit : > there seems to be a bug in in pyplot.hist when using histtype="step". > > I am plotting the attached data to a histogram (see 1.png). In this > case I set the limits on the y axis manually. > > When I don't do this (let the hist function choose the limits), I get > the picture in the file 2.png. Only the highest bin is drawn. To be > exact, ymin=second highest value, ymax=highest value. Can you also send a minimal code that reproduces the bug. I just tried a hist(x, histtype='step') command, with x being a random vector and it works fine. best, Pierre |
From: Detlef M. (IKP) <det...@ki...> - 2013-04-16 10:14:17
|
Hi all, there seems to be a bug in in pyplot.hist when using histtype="step". I am plotting the attached data to a histogram (see 1.png). In this case I set the limits on the y axis manually. When I don't do this (let the hist function choose the limits), I get the picture in the file 2.png. Only the highest bin is drawn. To be exact, ymin=second highest value, ymax=highest value. To solve this, I suggest the patch in the attachment. I also removed the for loop here, because I don't see why 0 height bins should be filtered out (but this is just a suggestion). cheers, Detlef Maurel |
From: Michiel de H. <mjl...@ya...> - 2013-04-15 22:04:04
|
Hi Derek, Can you perhaps ask the Fink developers to provide a framework installation of Python? Most matplotlib users who ran into framework-related bugs were Fink users. Best, -Michiel. --- On Mon, 4/15/13, Derek Homeier <de...@as...> wrote: > From: Derek Homeier <de...@as...> > Subject: Re: [matplotlib-devel] Planning for 1.3.0 > To: "matplotlib development list" <mat...@li...> > Date: Monday, April 15, 2013, 11:00 AM > Hi Michiel, > > On 15.04.2013, at 6:03AM, Michiel de Hoon <mjl...@ya...> > wrote: > > > --- On Sun, 4/14/13, Derek Homeier <de...@as...> > wrote: > >> Of course if there are any other possible negative > effects > >> besides the window handling, I'd take your point. > > > > Several bugs have been reported in the past that turned > out to be due to Python not being installed as a framework. > For example, the file selection window when saving a figure > doesn't respond. This has been a major hassle, since each of > those bug reports take time to investigate before realizing > that it is due to the Python installation. > > OK, that is a valid reason! I vaguely remember some problems > with that in the past, > though haven't experienced any of that in a long time (just > tested 'Save File', and I've > been regularly using 'Configure Subplots'). But this is > probably a case where a > Warning might not keep all users from filing a bug. :-( > The QT4Agg backend has its ups as well, though there still > seem to be some quirks, > too (e.g. the zoom rectangle only shows up with the left and > lower border); I will probably > become a fan of the line configuration tool that allows you > to switch back to linear from a > log axis scale (in the command line there seems to be no > return from plt.semilogy() or > plt.loglog())! > > Cheers, > > > Derek > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of > advanced > analytics on semi-structured data. The platform includes > APIs for building > apps and a phenomenal toolset for data science. Developers > can use > our toolset for easy data analysis & visualization. Get > a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Michiel de H. <mjl...@ya...> - 2013-04-15 22:02:07
|
Hi Mike, Ryan, Thanks for your comments. I have made a pull request; see: https://github.com/matplotlib/matplotlib/pull/1907 Best, -Michiel --- On Mon, 4/15/13, Michael Droettboom <md...@st...> wrote: > From: Michael Droettboom <md...@st...> > Subject: Re: [matplotlib-devel] Timers independent of canvases > To: mat...@li... > Date: Monday, April 15, 2013, 10:56 AM > Thanks for doing this. This > looks like quite an improvement! > > Why don't you go ahead and make a pull request. I > think on the whole > the idea is sound, I just have a few minor comments that can > probably be > dealt with more efficiently in a PR. > > Mike > > On 04/12/2013 10:32 PM, Michiel de Hoon wrote: > > Dear all, > > > > The animation code in matplotlib relies on timers to > update the animated figures. Currently a new timer is > created by calling new_timer on a canvas, as in > > > >>>> f = pylab.figure() > >>>> timer = f.canvas.new_timer() > > This seems a bit of a wrinkle. For example, you may > want to associate a timer with multiple figures, or with no > figure at all; also you may want to continue using a timer > after a particular figure is closed. > > > > I would therefore propose to make timers independent of > canvases. Something like this: > > > >>>> from matplotlib import events > >>>> timer = events.Timer() > > This has the additional advantage of making the > different backends more similar to each other; in the > current implementation some backends rely on the canvas when > making a timer, while others ignore it. > > > > I have made a branch on github that does exactly this; > see > > https://github.com/mdehoon/matplotlib/tree/Timer > > I have verified that the animation examples still work > correctly with all backends. > > > > Any comments/suggestions/criticisms? If this seems a > good idea, I can make a pull request. > > > > Best, > > -Michiel. > > > > > ------------------------------------------------------------------------------ > > Precog is a next-generation analytics platform capable > of advanced > > analytics on semi-structured data. The platform > includes APIs for building > > apps and a phenomenal toolset for data science. > Developers can use > > our toolset for easy data analysis & visualization. > Get a free account! > > http://www2.precog.com/precogplatform/slashdotnewsletter > > _______________________________________________ > > Matplotlib-devel mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of > advanced > analytics on semi-structured data. The platform includes > APIs for building > apps and a phenomenal toolset for data science. Developers > can use > our toolset for easy data analysis & visualization. Get > a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Derek H. <de...@as...> - 2013-04-15 15:00:38
|
Hi Michiel, On 15.04.2013, at 6:03AM, Michiel de Hoon <mjl...@ya...> wrote: > --- On Sun, 4/14/13, Derek Homeier <de...@as...> wrote: >> Of course if there are any other possible negative effects >> besides the window handling, I'd take your point. > > Several bugs have been reported in the past that turned out to be due to Python not being installed as a framework. For example, the file selection window when saving a figure doesn't respond. This has been a major hassle, since each of those bug reports take time to investigate before realizing that it is due to the Python installation. OK, that is a valid reason! I vaguely remember some problems with that in the past, though haven't experienced any of that in a long time (just tested 'Save File', and I've been regularly using 'Configure Subplots'). But this is probably a case where a Warning might not keep all users from filing a bug. :-( The QT4Agg backend has its ups as well, though there still seem to be some quirks, too (e.g. the zoom rectangle only shows up with the left and lower border); I will probably become a fan of the line configuration tool that allows you to switch back to linear from a log axis scale (in the command line there seems to be no return from plt.semilogy() or plt.loglog())! Cheers, Derek |
From: Michael D. <md...@st...> - 2013-04-15 14:57:34
|
Thanks for doing this. This looks like quite an improvement! Why don't you go ahead and make a pull request. I think on the whole the idea is sound, I just have a few minor comments that can probably be dealt with more efficiently in a PR. Mike On 04/12/2013 10:32 PM, Michiel de Hoon wrote: > Dear all, > > The animation code in matplotlib relies on timers to update the animated figures. Currently a new timer is created by calling new_timer on a canvas, as in > >>>> f = pylab.figure() >>>> timer = f.canvas.new_timer() > This seems a bit of a wrinkle. For example, you may want to associate a timer with multiple figures, or with no figure at all; also you may want to continue using a timer after a particular figure is closed. > > I would therefore propose to make timers independent of canvases. Something like this: > >>>> from matplotlib import events >>>> timer = events.Timer() > This has the additional advantage of making the different backends more similar to each other; in the current implementation some backends rely on the canvas when making a timer, while others ignore it. > > I have made a branch on github that does exactly this; see > https://github.com/mdehoon/matplotlib/tree/Timer > I have verified that the animation examples still work correctly with all backends. > > Any comments/suggestions/criticisms? If this seems a good idea, I can make a pull request. > > Best, > -Michiel. > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: Ryan M. <rm...@gm...> - 2013-04-15 13:36:47
|
No opposition here. The "rationale" behind the original location was: 1) Easy way to make it properly dependent on the backend 2) Easy way to get a handle on a widget when necessary (for Tk and Wx IIRC) However, these were reasons of ease of implementation (aka. laziness) on my part, no real technical reasons that I recall (clearly, since your branch works). So, +1. Ryan On Fri, Apr 12, 2013 at 9:32 PM, Michiel de Hoon <mjl...@ya...>wrote: > Dear all, > > The animation code in matplotlib relies on timers to update the animated > figures. Currently a new timer is created by calling new_timer on a canvas, > as in > > >>> f = pylab.figure() > >>> timer = f.canvas.new_timer() > > This seems a bit of a wrinkle. For example, you may want to associate a > timer with multiple figures, or with no figure at all; also you may want to > continue using a timer after a particular figure is closed. > > I would therefore propose to make timers independent of canvases. > Something like this: > > >>> from matplotlib import events > >>> timer = events.Timer() > > This has the additional advantage of making the different backends more > similar to each other; in the current implementation some backends rely on > the canvas when making a timer, while others ignore it. > > I have made a branch on github that does exactly this; see > https://github.com/mdehoon/matplotlib/tree/Timer > I have verified that the animation examples still work correctly with all > backends. > > Any comments/suggestions/criticisms? If this seems a good idea, I can make > a pull request. > > Best, > -Michiel. > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
From: Michiel de H. <mjl...@ya...> - 2013-04-15 04:03:55
|
Hi Derek, --- On Sun, 4/14/13, Derek Homeier <de...@as...> wrote: > Of course if there are any other possible negative effects > besides the window handling, I'd take your point. Several bugs have been reported in the past that turned out to be due to Python not being installed as a framework. For example, the file selection window when saving a figure doesn't respond. This has been a major hassle, since each of those bug reports take time to investigate before realizing that it is due to the Python installation. Best, -Michiel. |