[devel] Обновление numpy и matplotlib
Ivan Zakharyaschev
imz на altlinux.org
Пн Апр 17 11:13:53 MSK 2017
On Mon, 17 Apr 2017, Антон Мидюков wrote:
> 16.04.2017 23:55, Ivan Zakharyaschev пишет:
>> > Traceback (most recent call last):
>> > File "<string>", line 1, in <module>
>> > File "/usr/lib64/python3/site-packages/matplotlib/pylab.py", line
>> > 257, in <module>
>> > from matplotlib import cbook, mlab, pyplot as plt
>> > File "/usr/lib64/python3/site-packages/matplotlib/pyplot.py", line 115,
>> > in <module>
>> > _backend_mod, new_figure_manager, draw_if_interactive, _show =
>> > pylab_setup()
>> > File "/usr/lib64/python3/site-packages/matplotlib/backends/__init__.py",
>> > line 32, in pylab_setup
>> > globals(),locals(),[backend_name],0)
>> > File
>> > "/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3cairo.py",
>> > line 6, in <module>
>> > from . import backend_gtk3
>> > File
>> > "/usr/lib64/python3/site-packages/matplotlib/backends/backend_gtk3.py",
>> > line 21, in <module>
>> > "Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
>> > ImportError: Gtk3 backend requires the GObject introspection bindings
>> > for Gtk 3 to be installed.
>>
>> ...дописать требуемую версию в python3-module-matplotlib-gtk3 явно руками,
>> если она и в коде явно прописана и требуется.
> Хорошо. Так и сделаю.
С новой сборкой проверка не проходит немного с другой ошибкой. Возможно,
дело в зависимости от того, что попало в другой подпакет:
[builder на localhost .in]$ /usr/lib/rpm/check-python3-provs-importable.sh
python3-module-matplotlib; echo $?
matplotlib.pylab
matplotlib.pyplot
pylab
123
[builder на localhost .in]$ python3 -c 'import matplotlib.pyplot'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python3/site-packages/matplotlib/pyplot.py", line 115,
in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show =
pylab_setup()
File "/usr/lib64/python3/site-packages/matplotlib/backends/__init__.py",
line 32, in pylab_setup
globals(),locals(),[backend_name],0)
ImportError: No module named 'matplotlib.backends.backend_gtk3cairo'
[builder на localhost .in]$ python3 -c 'import matplotlib.pylab'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python3/site-packages/matplotlib/pylab.py", line 257,
in <module>
from matplotlib import cbook, mlab, pyplot as plt
File "/usr/lib64/python3/site-packages/matplotlib/pyplot.py", line 115,
in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show =
pylab_setup()
File "/usr/lib64/python3/site-packages/matplotlib/backends/__init__.py",
line 32, in pylab_setup
globals(),locals(),[backend_name],0)
ImportError: No module named 'matplotlib.backends.backend_gtk3cairo'
[builder на localhost .in]$
--
Best regards,
Ivan
Подробная информация о списке рассылки Devel