enthought / enthought/mayavi

Set up Mayavi on Binder

Open
#1,033 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I've create a [plotting module for SymPy](https://github.com/Davide-sd/sympy-plot-backends) which is also using Mayavi. I'd like for the users to be able to try the module without installing it, so I set up Binder. Unfortunately, I'm not able to load it: every time I get an error, and I've raised the white flag. Right now, the Binder is working without Mayavi :|

The first time I tried the error told me it was missing `libgl.so.1`. I added the requirement for `libgl1-mesa-glx` and that fixed it.

Next, I got an error about `libxcb`: so I looked over my system with `apt-cache search libxcb` and found the following list:
```libxcb-composite0 libxcb-composite0-dev libxcb-damage0 libxcb-damage0-dev libxcb-doc libxcb-dpms0 libxcb-dpms0-dev libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-ewmh-dev files libxcb-ewmh2 libxcb-glx0 libxcb-glx0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-image0 libxcb-image0-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-record0 libxcb-record0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-render0 libxcb-render0-dev libxcb-res0 libxcb-res0-dev libxcb-screensaver0 libxcb-screensaver0-dev libxcb-shape0 libxcb-shape0-dev libxcb-shm0 libxcb-shm0-dev libxcb-sync-dev libxcb-sync1 libxcb-util-dev libxcb-util0-dev libxcb-util1 libxcb-xf86dri0 libxcb-xf86dri0-dev libxcb-xfixes0 libxcb-xfixes0-dev libxcb-xinerama0 libxcb-xinerama0-dev libxcb-xinput-dev libxcb-xinput0 libxcb-xkb-dev libxcb-xkb1 libxcb-xtest0 libxcb-xtest0-dev libxcb-xv0 libxcb-xv0-dev libxcb-xvmc0 libxcb-xvmc0-dev libxcb1 libxcb1-dev libx11-xcb-perl libxcb-cursor-dev libxcb-cursor0 libxcb-imdkit-dev libxcb-imdkit0 libxcb-xrm-dev libxcb-xrm0```

Copied it into the requirement, a new error about `libxcb-imdkit` could not be found. Removed `libxcb-imdkit-dev libxcb-imdkit0`, the same old error about `libxcb`.

I think you got the picture. I have no idea how to set up Mayavi on Binder, if it's even possible.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.