Zaiwen Gong
2015-09-17 14:04:39 UTC
Hi,
I am trying to install matplotlib on my RedHat Linux 6.5 with Python33.
Unfortunately, 'matplotlib' rpm isn't available for python33. `python-matplotlib` is included only for python2.6 from Red Hat Linux 6.5.
So I try installing the latest module from matplotlib source using 'python easy_install'.
#*scl enable python33 'bash'*
#*easy_install -m matplotlib
*
The install finished fine, but I am still get this error when I tried to import matplotlib. Is there anything else that I need to config?
# scl enable python33 'python'
Python 3.3.2 (default, Mar 20 2014, 20:25:51)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
ImportError: No module named 'matplotlib'
Below is the console when I run "easy_install -m matplotlib".
*At the end, it says "Finished processing dependencies for matplotlib".
Does that mean matplotlib is not really installed yet?*
Do I miss any steps?
******************************************************************************************************************
Searching for matplotlib
Reading https://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.org
Reading http://matplotlib.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/
Reading
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
Best match: matplotlib 1.4.3
Downloading
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267
Processing matplotlib-1.4.3.tar.gz
Writing /tmp/easy_install-uiv2i6/matplotlib-1.4.3/setup.cfg
Running matplotlib-1.4.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-uiv2i6/matplotlib-1.4.3/egg-dist-tmp-dn5itl
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.3.2 (default, Mar 20 2014, 20:25:51) [GCC
4.4.6 20120305 (Red Hat 4.4.6-4)]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.7.1]
six: yes [The installed version of six is 1.3.0 but
a the minimum required version is 1.4. pip/easy install will attempt to
install a newer version.]
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.3.11]
png: yes [version 1.2.49]
qhull: yes [pkg-config information for 'qhull' could
not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.0 / using
unittest.mock]
toolkits_tests: yes [using nose version 1.3.0 / 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 [The C/C++ header for Tk (tk.h) could not
be found. You may need to install the development package.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.11]
ghostscript: yes [version 8.70]
latex: yes [version 3.141592]
pdftops: no
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from src/file_compat.h:7,
from src/ft2font.cpp:7:
/opt/rh/python33/root/usr/lib64/python3.3/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:7:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/ft2font.h: In constructor
ᅵᅵᅵFT2Font::FT2Font(Py::PythonClassInstance*, Py::Tuple&, Py::Dict&)ᅵᅵᅵ:
src/ft2font.h:140: warning: ᅵᅵᅵFT2Font::faceᅵᅵᅵ will be initialized after
src/ft2font.h:136: warning: ᅵᅵᅵPy::Object FT2Font::imageᅵᅵᅵ
src/ft2font.cpp:851: warning: when initialized here
src/ft2font.cpp: In member function ᅵᅵᅵPy::Object
FT2Image::py_write_bitmap(const Py::Tuple&)ᅵᅵᅵ:
src/ft2font.cpp:184: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/_png.cpp:28:
/opt/rh/python33/root/usr/lib64/python3.3/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/_png.cpp:31:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/_png.cpp: In member function ᅵᅵᅵPyObject*
_png_module::_read_png(const Py::Object&, bool, int)ᅵᅵᅵ:
src/_png.cpp:331: warning: deprecated conversion from string constant to
ᅵᅵᅵchar*ᅵᅵᅵ
src/_png.cpp:316: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
src/_png.cpp: In member function ᅵᅵᅵPy::Object
_png_module::write_png(const Py::Tuple&)ᅵᅵᅵ:
src/_png.cpp:108: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libpng12.so when searching
for -lpng12
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/_image.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/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"
src/_image.cpp: In member function ᅵᅵᅵPy::Object
_image_module::from_images(const Py::Tuple&)ᅵᅵᅵ:
src/_image.cpp:805: warning: ᅵᅵᅵalphaᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
src/_ttconv.cpp: In member function ᅵᅵᅵvirtual void
PythonFileWriter::write(const char*)ᅵᅵᅵ:
src/_ttconv.cpp:57: warning: deprecated conversion from string constant
to ᅵᅵᅵchar*ᅵᅵᅵ
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_path_iterator.h:7,
from src/_path.cpp:3:
/opt/rh/python33/root/usr/lib64/python3.3/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"
src/_path.cpp: In function ᅵᅵᅵvoid point_in_path_impl(const void*,
size_t, size_t, size_t, T&, npy_bool*) [with T = points_in_path(const
void*, size_t, size_t, size_t, double, PathIterator&, const
agg::trans_affine&, npy_bool*)::contour_t]ᅵᅵᅵ:
src/_path.cpp:302: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:302: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp: In function ᅵᅵᅵvoid point_in_path_impl(const void*,
size_t, size_t, size_t, T&, npy_bool*) [with T = points_on_path(const
void*, size_t, size_t, size_t, double, PathIterator&, const
agg::trans_affine&, npy_bool*)::stroke_t]ᅵᅵᅵ:
src/_path.cpp:336: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:336: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/path_cleanup.cpp:5:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/cntr.c:23:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from
lib/matplotlib/delaunay/VoronoiDiagramGenerator.h:34,
from lib/matplotlib/delaunay/_delaunay.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:38:
/opt/rh/python33/root/usr/lib64/python3.3/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"
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function
ᅵᅵᅵbool VoronoiDiagramGenerator::voronoi(int)ᅵᅵᅵ:
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning:
ᅵᅵᅵnewintstar.Point::yᅵᅵᅵ may be used uninitialized in this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/noprefix.h:9,
from src/qhull_wrap.c:9:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from lib/matplotlib/tri/_tri.h:68,
from lib/matplotlib/tri/_tri.cpp:8:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_path_iterator.h:7,
from src/_backend_agg.h:43,
from src/_backend_agg.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/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/_backend_agg.cpp:44:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/_backend_agg.cpp: In member function ᅵᅵᅵPy::Object
RendererAgg::draw_markers(const Py::Tuple&)ᅵᅵᅵ:
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer
will break strict-aliasing rules
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/matplotlib-1.4.3-py3.3-linux-x86_64.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("matplotlib") # latest installed version
pkg_resources.require("matplotlib==1.4.3") # this exact version
pkg_resources.require("matplotlib>=1.4.3") # this version or higher
Processing dependencies for matplotlib
Searching for pyparsing>=1.5.6,!=2.0.0
Reading https://pypi.python.org/simple/pyparsing/
Reading http://pyparsing.sourceforge.net/
Reading http://pyparsing.wikispaces.com/
Reading http://sourceforge.net/project/showfiles.php?group_id=97203
Reading http://sourceforge.net/projects/pyparsing
Best match: pyparsing 2.0.3
Downloading
https://pypi.python.org/packages/source/p/pyparsing/pyparsing-2.0.3.zip#md5=0a5ec41bb650aed802751a311b5d820d
Processing pyparsing-2.0.3.zip
Writing /tmp/easy_install-8vc0lc/pyparsing-2.0.3/setup.cfg
Running pyparsing-2.0.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-8vc0lc/pyparsing-2.0.3/egg-dist-tmp-bdgu2g
zip_safe flag not set; analyzing archive contents...
__pycache__.pyparsing.cpython-33: module MAY be using inspect.stack
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pyparsing-2.0.3-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("pyparsing") # latest installed version
pkg_resources.require("pyparsing==2.0.3") # this exact version
pkg_resources.require("pyparsing>=2.0.3") # this version or higher
Searching for pytz
Reading https://pypi.python.org/simple/pytz/
Best match: pytz 2015.4
Downloading
https://pypi.python.org/packages/3.3/p/pytz/pytz-2015.4-py3.3.egg#md5=e21dada2b1eaff746d21b2ac6f76f034
Processing pytz-2015.4-py3.3.egg
Moving pytz-2015.4-py3.3.egg to
/opt/rh/python33/root/usr/lib/python3.3/site-packages
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pytz-2015.4-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("pytz") # latest installed version
pkg_resources.require("pytz==2015.4") # this exact version
pkg_resources.require("pytz>=2015.4") # this version or higher
Searching for python-dateutil!=2.1
Reading https://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
Reading https://dateutil.readthedocs.org
Best match: python-dateutil 2.4.2
Downloading
https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz#md5=4ef68e1c485b09e9f034e10473e5add2
Processing python-dateutil-2.4.2.tar.gz
Writing /tmp/easy_install-ugb9nf/python-dateutil-2.4.2/setup.cfg
Running python-dateutil-2.4.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-ugb9nf/python-dateutil-2.4.2/egg-dist-tmp-7bb_lh
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/python_dateutil-2.4.2-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("python-dateutil") # latest installed version
pkg_resources.require("python-dateutil==2.4.2") # this exact version
pkg_resources.require("python-dateutil>=2.4.2") # this version or
higher
Searching for six>=1.4
Reading https://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading
https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4
Processing six-1.9.0.tar.gz
Writing /tmp/easy_install-5oq3yv/six-1.9.0/setup.cfg
Running six-1.9.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-5oq3yv/six-1.9.0/egg-dist-tmp-q7x1ha
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
__pycache__.six.cpython-33: module references __path__
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/six-1.9.0-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("six") # latest installed version
pkg_resources.require("six==1.9.0") # this exact version
pkg_resources.require("six>=1.9.0") # this version or higher
*Finished processing dependencies for matplotlib *
**************************************************************************************************************
Thanks,
Zaiwen
I am trying to install matplotlib on my RedHat Linux 6.5 with Python33.
Unfortunately, 'matplotlib' rpm isn't available for python33. `python-matplotlib` is included only for python2.6 from Red Hat Linux 6.5.
So I try installing the latest module from matplotlib source using 'python easy_install'.
#*scl enable python33 'bash'*
#*easy_install -m matplotlib
*
The install finished fine, but I am still get this error when I tried to import matplotlib. Is there anything else that I need to config?
# scl enable python33 'python'
Python 3.3.2 (default, Mar 20 2014, 20:25:51)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
import numpy
import scipy
import matplotlib
Traceback (most recent call last):import scipy
import matplotlib
File "<stdin>", line 1, in <module>
ImportError: No module named 'matplotlib'
Below is the console when I run "easy_install -m matplotlib".
*At the end, it says "Finished processing dependencies for matplotlib".
Does that mean matplotlib is not really installed yet?*
Do I miss any steps?
******************************************************************************************************************
Searching for matplotlib
Reading https://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.org
Reading http://matplotlib.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Reading
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/
Reading
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194
Reading
https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3/
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0
Reading
https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/
Best match: matplotlib 1.4.3
Downloading
https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267
Processing matplotlib-1.4.3.tar.gz
Writing /tmp/easy_install-uiv2i6/matplotlib-1.4.3/setup.cfg
Running matplotlib-1.4.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-uiv2i6/matplotlib-1.4.3/egg-dist-tmp-dn5itl
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.3]
python: yes [3.3.2 (default, Mar 20 2014, 20:25:51) [GCC
4.4.6 20120305 (Red Hat 4.4.6-4)]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.7.1]
six: yes [The installed version of six is 1.3.0 but
a the minimum required version is 1.4. pip/easy install will attempt to
install a newer version.]
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.3.11]
png: yes [version 1.2.49]
qhull: yes [pkg-config information for 'qhull' could
not be
found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.0 / using
unittest.mock]
toolkits_tests: yes [using nose version 1.3.0 / 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 [The C/C++ header for Tk (tk.h) could not
be found. You may need to install the development package.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.11]
ghostscript: yes [version 8.70]
latex: yes [version 3.141592]
pdftops: no
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from src/file_compat.h:7,
from src/ft2font.cpp:7:
/opt/rh/python33/root/usr/lib64/python3.3/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:7:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/ft2font.h: In constructor
ᅵᅵᅵFT2Font::FT2Font(Py::PythonClassInstance*, Py::Tuple&, Py::Dict&)ᅵᅵᅵ:
src/ft2font.h:140: warning: ᅵᅵᅵFT2Font::faceᅵᅵᅵ will be initialized after
src/ft2font.h:136: warning: ᅵᅵᅵPy::Object FT2Font::imageᅵᅵᅵ
src/ft2font.cpp:851: warning: when initialized here
src/ft2font.cpp: In member function ᅵᅵᅵPy::Object
FT2Image::py_write_bitmap(const Py::Tuple&)ᅵᅵᅵ:
src/ft2font.cpp:184: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/_png.cpp:28:
/opt/rh/python33/root/usr/lib64/python3.3/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/_png.cpp:31:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/_png.cpp: In member function ᅵᅵᅵPyObject*
_png_module::_read_png(const Py::Object&, bool, int)ᅵᅵᅵ:
src/_png.cpp:331: warning: deprecated conversion from string constant to
ᅵᅵᅵchar*ᅵᅵᅵ
src/_png.cpp:316: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
src/_png.cpp: In member function ᅵᅵᅵPy::Object
_png_module::write_png(const Py::Tuple&)ᅵᅵᅵ:
src/_png.cpp:108: warning: ᅵᅵᅵoffsetᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libpng12.so when searching
for -lpng12
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/_image.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/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"
src/_image.cpp: In member function ᅵᅵᅵPy::Object
_image_module::from_images(const Py::Tuple&)ᅵᅵᅵ:
src/_image.cpp:805: warning: ᅵᅵᅵalphaᅵᅵᅵ may be used uninitialized in
this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
src/_ttconv.cpp: In member function ᅵᅵᅵvirtual void
PythonFileWriter::write(const char*)ᅵᅵᅵ:
src/_ttconv.cpp:57: warning: deprecated conversion from string constant
to ᅵᅵᅵchar*ᅵᅵᅵ
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_path_iterator.h:7,
from src/_path.cpp:3:
/opt/rh/python33/root/usr/lib64/python3.3/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"
src/_path.cpp: In function ᅵᅵᅵvoid point_in_path_impl(const void*,
size_t, size_t, size_t, T&, npy_bool*) [with T = points_in_path(const
void*, size_t, size_t, size_t, double, PathIterator&, const
agg::trans_affine&, npy_bool*)::contour_t]ᅵᅵᅵ:
src/_path.cpp:302: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:302: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp: In function ᅵᅵᅵvoid point_in_path_impl(const void*,
size_t, size_t, size_t, T&, npy_bool*) [with T = points_on_path(const
void*, size_t, size_t, size_t, double, PathIterator&, const
agg::trans_affine&, npy_bool*)::stroke_t]ᅵᅵᅵ:
src/_path.cpp:336: instantiated from here
src/_path.cpp:168: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:336: instantiated from here
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:196: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/_path.cpp:246: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/path_cleanup.cpp:5:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/cntr.c:23:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from
lib/matplotlib/delaunay/VoronoiDiagramGenerator.h:34,
from lib/matplotlib/delaunay/_delaunay.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:38:
/opt/rh/python33/root/usr/lib64/python3.3/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"
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp: In member function
ᅵᅵᅵbool VoronoiDiagramGenerator::voronoi(int)ᅵᅵᅵ:
lib/matplotlib/delaunay/VoronoiDiagramGenerator.cpp:923: warning:
ᅵᅵᅵnewintstar.Point::yᅵᅵᅵ may be used uninitialized in this function
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/noprefix.h:9,
from src/qhull_wrap.c:9:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from lib/matplotlib/tri/_tri.h:68,
from lib/matplotlib/tri/_tri.cpp:8:
/opt/rh/python33/root/usr/lib64/python3.3/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"
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
In file included from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_transforms.cpp:6:
/opt/rh/python33/root/usr/lib64/python3.3/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
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/opt/rh/python33/root/usr/lib64/python3.3/site-packages/numpy/core/include/numpy/arrayobject.h:15,
from src/agg_py_path_iterator.h:7,
from src/_backend_agg.h:43,
from src/_backend_agg.cpp:12:
/opt/rh/python33/root/usr/lib64/python3.3/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/_backend_agg.cpp:44:
src/file_compat.h: In function ᅵᅵᅵFILE* mpl_PyFile_Dup(PyObject*, char*,
off_t*)ᅵᅵᅵ:
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:66: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:82: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:109: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h: In function ᅵᅵᅵint mpl_PyFile_DupClose(PyObject*,
FILE*, off_t)ᅵᅵᅵ:
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/file_compat.h:155: warning: deprecated conversion from string
constant to ᅵᅵᅵchar*ᅵᅵᅵ
src/_backend_agg.cpp: In member function ᅵᅵᅵPy::Object
RendererAgg::draw_markers(const Py::Tuple&)ᅵᅵᅵ:
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:791: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer
will break strict-aliasing rules
src/_backend_agg.cpp:829: warning: dereferencing type-punned pointer
will break strict-aliasing rules
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching
for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/matplotlib-1.4.3-py3.3-linux-x86_64.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("matplotlib") # latest installed version
pkg_resources.require("matplotlib==1.4.3") # this exact version
pkg_resources.require("matplotlib>=1.4.3") # this version or higher
Processing dependencies for matplotlib
Searching for pyparsing>=1.5.6,!=2.0.0
Reading https://pypi.python.org/simple/pyparsing/
Reading http://pyparsing.sourceforge.net/
Reading http://pyparsing.wikispaces.com/
Reading http://sourceforge.net/project/showfiles.php?group_id=97203
Reading http://sourceforge.net/projects/pyparsing
Best match: pyparsing 2.0.3
Downloading
https://pypi.python.org/packages/source/p/pyparsing/pyparsing-2.0.3.zip#md5=0a5ec41bb650aed802751a311b5d820d
Processing pyparsing-2.0.3.zip
Writing /tmp/easy_install-8vc0lc/pyparsing-2.0.3/setup.cfg
Running pyparsing-2.0.3/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-8vc0lc/pyparsing-2.0.3/egg-dist-tmp-bdgu2g
zip_safe flag not set; analyzing archive contents...
__pycache__.pyparsing.cpython-33: module MAY be using inspect.stack
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pyparsing-2.0.3-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("pyparsing") # latest installed version
pkg_resources.require("pyparsing==2.0.3") # this exact version
pkg_resources.require("pyparsing>=2.0.3") # this version or higher
Searching for pytz
Reading https://pypi.python.org/simple/pytz/
Best match: pytz 2015.4
Downloading
https://pypi.python.org/packages/3.3/p/pytz/pytz-2015.4-py3.3.egg#md5=e21dada2b1eaff746d21b2ac6f76f034
Processing pytz-2015.4-py3.3.egg
Moving pytz-2015.4-py3.3.egg to
/opt/rh/python33/root/usr/lib/python3.3/site-packages
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/pytz-2015.4-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("pytz") # latest installed version
pkg_resources.require("pytz==2015.4") # this exact version
pkg_resources.require("pytz>=2015.4") # this version or higher
Searching for python-dateutil!=2.1
Reading https://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
Reading https://dateutil.readthedocs.org
Best match: python-dateutil 2.4.2
Downloading
https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.2.tar.gz#md5=4ef68e1c485b09e9f034e10473e5add2
Processing python-dateutil-2.4.2.tar.gz
Writing /tmp/easy_install-ugb9nf/python-dateutil-2.4.2/setup.cfg
Running python-dateutil-2.4.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-ugb9nf/python-dateutil-2.4.2/egg-dist-tmp-7bb_lh
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/python_dateutil-2.4.2-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("python-dateutil") # latest installed version
pkg_resources.require("python-dateutil==2.4.2") # this exact version
pkg_resources.require("python-dateutil>=2.4.2") # this version or
higher
Searching for six>=1.4
Reading https://pypi.python.org/simple/six/
Best match: six 1.9.0
Downloading
https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz#md5=476881ef4012262dfc8adc645ee786c4
Processing six-1.9.0.tar.gz
Writing /tmp/easy_install-5oq3yv/six-1.9.0/setup.cfg
Running six-1.9.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-5oq3yv/six-1.9.0/egg-dist-tmp-q7x1ha
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
__pycache__.six.cpython-33: module references __path__
Installed
/opt/rh/python33/root/usr/lib/python3.3/site-packages/six-1.9.0-py3.3.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one of
these examples, in order to select the desired version:
pkg_resources.require("six") # latest installed version
pkg_resources.require("six==1.9.0") # this exact version
pkg_resources.require("six>=1.9.0") # this version or higher
*Finished processing dependencies for matplotlib *
**************************************************************************************************************
Thanks,
Zaiwen