Skip to content

Instantly share code, notes, and snippets.

@montefra
Created April 2, 2015 19:13
Show Gist options
  • Save montefra/2977c357662cc40d99b0 to your computer and use it in GitHub Desktop.
Save montefra/2977c357662cc40d99b0 to your computer and use it in GitHub Desktop.
# removed all the packages installed by freetype-devel and libxft-dev
(py3) -> sudo zypper install freetype-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
freetype-devel libttf2
2 new packages to install.
Overall download size: 104.1 KiB. Already cached: 0 B After the operation, additional 330.0 KiB will be used.
Continue? [y/n/? shows all options] (y): y
(py3) -> pip install matplotlib
Collecting matplotlib
Using cached matplotlib-1.4.3.tar.gz
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-s53h2esj/matplotlib/setup.py", line 155, in <module>
result = package.check()
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 961, in check
min_version='2.3', version=version)
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 445, in _check_for_pkg_config
if (not is_min_version(version, min_version)):
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 173, in is_min_version
return found_version >= expected_version
File "/usr/lib64/python3.4/distutils/version.py", line 76, in __ge__
c = self._cmp(other)
File "/usr/lib64/python3.4/distutils/version.py", line 343, in _cmp
if self.version < other.version:
TypeError: unorderable types: str() < int()
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.4.1 (default, May 23 2014, 17:48:28) [GCC]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.9.2]
six: yes [six was not found.pip will attempt to install
it after matplotlib.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
pycxx: yes [Official versions of PyCXX are not compatible
with matplotlib on Python 3.x, since they lack
support for the buffer object. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-s53h2esj/matplotlib/setup.py", line 155, in <module>
result = package.check()
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 961, in check
min_version='2.3', version=version)
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 445, in _check_for_pkg_config
if (not is_min_version(version, min_version)):
File "/tmp/pip-build-s53h2esj/matplotlib/setupext.py", line 173, in is_min_version
return found_version >= expected_version
File "/usr/lib64/python3.4/distutils/version.py", line 76, in __ge__
c = self._cmp(other)
File "/usr/lib64/python3.4/distutils/version.py", line 343, in _cmp
if self.version < other.version:
TypeError: unorderable types: str() < int()
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.4.1 (default, May 23 2014, 17:48:28) [GCC]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.9.2]
six: yes [six was not found.pip will attempt to install
it after matplotlib.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
pycxx: yes [Official versions of PyCXX are not compatible
with matplotlib on Python 3.x, since they lack
support for the buffer object. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s53h2esj/matplotlib
(py3) -> sudo zypper install freetype-devel libXft-devel
Loading repository data...
Reading installed packages...
'freetype-devel' is already installed.
No update candidate for 'freetype-devel-1.3.1-1417.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
The following 15 NEW packages are going to be installed:
fontconfig-devel freetype2-devel kbproto-devel libexpat-devel libX11-devel libXau-devel libxcb-devel libxcb-dpms0 libxcb-res0 libxcb-screensaver0 libxcb-xevie0 libxcb-xf86dri0
libxcb-xinerama0 libXft-devel libXrender-devel
15 new packages to install.
Overall download size: 2.3 MiB. Already cached: 0 B After the operation, additional 13.7 MiB will be used.
Continue? [y/n/? shows all options] (y): y
[...]
(py3) -> pip install matplotlib
Collecting matplotlib
Using cached matplotlib-1.4.3.tar.gz
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.4.1 (default, May 23 2014, 17:48:28) [GCC]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.9.2]
six: yes [six was not found.pip will attempt to install
it after matplotlib.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
pycxx: yes [Official versions of PyCXX are not compatible
with matplotlib on Python 3.x, since they lack
support for the buffer object. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.5.5]
png: no [pkg-config information for 'libpng' could not
be found.]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. pip/easy_install may attempt
to install it after matplotlib. / using
unittest.mock]
toolkits_tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. pip/easy_install may attempt
to install it after matplotlib. / using
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: no [PyQt5 not found]
qt4agg: no [PyQt4 not found]
pyside: no [PySide not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: no [TKAgg requires Tkinter.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: yes [version 9.15]
latex: no
pdftops: yes [version 0.32.0]
============================================================================
* The following required packages can not be built:
* png
Complete output from command python setup.py egg_info:
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.4.1 (default, May 23 2014, 17:48:28) [GCC]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.9.2]
six: yes [six was not found.pip will attempt to install
it after matplotlib.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it after matplotlib.]
pytz: yes [pytz was not found. pip will attempt to install
it after matplotlib.]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [pyparsing was not found. It is required for
mathtext support. pip/easy_install may attempt to
install it after matplotlib.]
pycxx: yes [Official versions of PyCXX are not compatible
with matplotlib on Python 3.x, since they lack
support for the buffer object. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 2.5.5]
png: no [pkg-config information for 'libpng' could not
be found.]
qhull: yes [pkg-config information for 'qhull' could not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. pip/easy_install may attempt
to install it after matplotlib. / using
unittest.mock]
toolkits_tests: yes [nose 0.11.1 or later is required to run the
matplotlib test suite. pip/easy_install may attempt
to install it after matplotlib. / using
unittest.mock]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: no [PyQt5 not found]
qt4agg: no [PyQt4 not found]
pyside: no [PySide not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: no [TKAgg requires Tkinter.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: yes [version 9.15]
latex: no
pdftops: yes [version 0.32.0]
============================================================================
* The following required packages can not be built:
* png
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_gzqnl5x/matplotlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment