-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing matplotlib gives an error #67
Comments
As a quick workaround, put the |
Merged. Will report tag when rebuilt and pushed to dockerhub. |
Tagged |
rochaporto
pushed a commit
to rochaporto/docker-stacks
that referenced
this issue
Jan 23, 2019
test mediawiki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I basically just have a number of import statements, with matplotlib.pyplot causing problems. I have it in the scipy notebook but not in the all-spark notebook
import matplotlib.pyplot as plt
%matplotlib inline
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
Full error trace:
----> 1 import matplotlib.pyplot
/opt/conda/lib/python3.4/site-packages/matplotlib/pyplot.py in ()
107
108 from matplotlib.backends import pylab_setup
--> 109 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
110
111
/opt/conda/lib/python3.4/site-packages/matplotlib/backends/init.py in pylab_setup()
30 # imports. 0 means only perform absolute imports.
31 backend_mod = import(backend_name,
---> 32 globals(),locals(),[backend_name],0)
33
34 # Things we pull in from all backends
/opt/conda/lib/python3.4/site-packages/matplotlib/backends/backend_qt4agg.py in ()
15 from matplotlib.figure import Figure
16
---> 17 from .backend_qt5agg import NavigationToolbar2QTAgg
18 from .backend_qt5agg import FigureCanvasQTAggBase
19
/opt/conda/lib/python3.4/site-packages/matplotlib/backends/backend_qt5agg.py in ()
16
17 from .backend_agg import FigureCanvasAgg
---> 18 from .backend_qt5 import QtCore
19 from .backend_qt5 import QtGui
20 from .backend_qt5 import FigureManagerQT
/opt/conda/lib/python3.4/site-packages/matplotlib/backends/backend_qt5.py in ()
29 figureoptions = None
30
---> 31 from .qt_compat import QtCore, QtGui, QtWidgets, _getSaveFileName, version
32 from matplotlib.backends.qt_editor.formsubplottool import UiSubplotTool
33
/opt/conda/lib/python3.4/site-packages/matplotlib/backends/qt_compat.py in ()
89 if QT_API in [QT_API_PYQT, QT_API_PYQTv2]: # PyQt4 API
90
---> 91 from PyQt4 import QtCore, QtGui
92
93 try:
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: