enthought / enthought/mayavi

Kernel dies on mlab import at jupyter notebook

Open
#439 9 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

Hello,

I have tried to run the example from mayavi docs in jupyter notebook:

```
from mayavi import mlab
mlab.init_notebook()

s = mlab.test_plot3d()
s
```

but a kernel died just after execution.

I run the notebooks on the remote server, like:
`jupyter notebook --ip='0.0.0.0' --port=8888`

in server terminal it produces:

```
[I 11:48:16.967 NotebookApp] KernelRestarter: restarting kernel (1/5)
WARNING:root:kernel 2c5a04b1-3298-4338-a636-bde44442ae4f restarted
__main__.py: cannot connect to X server
```

Installed packages:
- Python 2.7.12 ( Anaconda 64-bit )
- numpy-1.9.3
- mayavi-4.5.0 + vtk-7.0.0 ( https://anaconda.org/menpo/mayavi )

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.