Summary: | dev-python/matplotlib-2.0.2 File "work/matplotlib-2.0.2-python2_7/setupext.py", line 1328, in check if not is_min_version(six.__version__, self.min_version): AttributeError: 'module' object has no attribute '__version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | frp.bissey, jstein, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info '=dev-python/matplotlib-2.0.2::gentoo'
build log environment file |
# emerge -a matplotlib These are the packages that would be merged, in order: [ebuild U ] dev-python/matplotlib-2.0.2::gentoo [1.5.3-r1::gentoo] USE="cairo examples qt4 wxwidgets -doc -excel -gtk2 -gtk3 -latex -pyside -qt5 {-test} -tk (-fltk%)" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6" 0 KiB Created attachment 484914 [details]
emerge --info '=dev-python/matplotlib-2.0.2::gentoo'
Created attachment 484916 [details]
build log
# emerge -pqv '=dev-python/matplotlib-2.0.2::gentoo' [ebuild U ] dev-python/matplotlib-2.0.2 [1.5.3-r1] USE="cairo examples qt4 wxwidgets -doc -excel -gtk2 -gtk3 -latex -pyside -qt5 {-test} -tk (-fltk%)" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6" Created attachment 484918 [details]
environment file
Version of setuptools used? I think I have seen that before when setuptools was a lower version than needed. which version is needed? (In reply to Jonas Stein from comment #7) > which version is needed? 35.x I think, but I am on 36.x now. File a new bug if problem persists. |
>>> Compiling source in /var/tmp/portage/dev-python/matplotlib-2.0.2/work/matplotlib-2.0.2 ... * python2_7: running distutils-r1_run_phase python_compile /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-2.0.2/work/matplotlib-2.0.2-python2_7/build/build/lib ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.0.2] python: yes [2.7.13 (default, Apr 28 2017, 20:40:18) [GCC 5.4.0]] platform: yes [linux2] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.13.0] Traceback (most recent call last): File "setup.py", line 184, in <module> result = package.check() File "/var/tmp/portage/dev-python/matplotlib-2.0.2/work/matplotlib-2.0.2-python2_7/setupext.py", line 1328, in check if not is_min_version(six.__version__, self.min_version): AttributeError: 'module' object has no attribute '__version__' * ERROR: dev-python/matplotlib-2.0.2::gentoo failed (compile phase): * (no error message)