We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a077e commit a903253Copy full SHA for a903253
tools/install_dependencies.sh
@@ -9,10 +9,22 @@ if [ -n "${OPTIONAL_DEPENDS}" ]; then
9
for DEP in ${OPTIONAL_DEPENDS}; do
10
if [ ${DEP} == "mayavi" ]; then
11
python -m pip install numpy vtk
12
- sudo apt-get install -y xvfb x11-utils libxkbcommon-x11-0
+ sudo apt-get install -y xvfb \
13
+ x11-utils \
14
+ mencoder \
15
+ libosmesa6 \
16
+ libglx-mesa0 \
17
+ libopengl0 \
18
+ libglx0 \
19
+ libdbus-1-3 \
20
+ qt5-default
21
fi
22
python -m pip install $DEP || true
23
done
24
25
26
echo "Finished installed dependencies"
27
+
28
+if [[ ${OPTIONAL_DEPENDS} == *"mayavi"* ]]; then
29
+ LIBGL_DEBUG=verbose /usr/bin/xvfb-run --auto-servernum python -c "from mayavi import mlab; import matplotlib.pyplot as plt; mlab.figure(); plt.figure()"
30
+fi
0 commit comments