Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pip install matplotlib fails #808

Closed
Closed
@diimdeep

Description

@diimdeep

latest osx, xcode
install python 2.7.2 with brew, then install pip for it

trying install matplotlib but no luck

https://gist.github.com/2259487

/usr/bin/clang -fno-strict-aliasing -Os -w -pipe -march=native -Qunused-arguments -fwrapv -DNDEBUG -g -O3 -Wall -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/numpy/core/include -I. -I/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/numpy/core/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I. -I/usr/local/Cellar/python/2.7.2/include/python2.7 -c src/backend_agg.cpp -o build/temp.macosx-10.4-x86_64-2.7/src/backend_agg.o

In file included from src/backend_agg.cpp:11:

In file included from src/_backend_agg.h:34:

agg24/include/agg_renderer_outline_aa.h:1368:45: error: binding of reference to type 'agg::line_profile_aa' to a value of type 'const agg::line_profile_aa' drops qualifiers

        line_profile_aa& profile() { return *m_profile; }

                                            ^~~~~~~~~~

1 error generated.

error: command '/usr/bin/clang' failed with exit status 1

----------------------------------------
Command /usr/local/Cellar/python/2.7.2/bin/python -c "import setuptools;__file__='/Users/dmitrywolf/build/matplotlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/z4/vv2s3tc15sb0t8c3f8tr090h0000gn/T/pip-zM6U8D-record/install-record.txt failed with error code 1 in /Users/dmitrywolf/build/matplotlib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions