slackbuild matplotlib fails with NameError
by cmk77 from LinuxQuestions.org on (#50S09)
Using Slackware 14.2 and SlackBuilds, I'm trying to build matplotlib for default python, but got the following error. Any idea what could be wrong?
Code:============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.2.3]
python: yes [2.7.17 (default, Oct 20 2019, 14:16:51) [GCC
5.5.0]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.14.3]
Traceback (most recent call last):
File "setup.py", line 172, in <module>
result = package.check()
File "/tmp/SBo/matplotlib-2.2.3/setupext.py", line 1480, in check
print_status(package.name, req_fail_msg)
NameError: global name 'package' is not defined


Code:============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.2.3]
python: yes [2.7.17 (default, Oct 20 2019, 14:16:51) [GCC
5.5.0]]
platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.14.3]
Traceback (most recent call last):
File "setup.py", line 172, in <module>
result = package.check()
File "/tmp/SBo/matplotlib-2.2.3/setupext.py", line 1480, in check
print_status(package.name, req_fail_msg)
NameError: global name 'package' is not defined