Closed Kukuster closed 2 years ago
Several days ago I managed to import mlab
in mayavi2 and I have left this session open since then. The garbage collector works well for me, it doesn't build up a lot of RAM. The visual works well, all good, getting an actual picture is no big deal.
The freezing issue remains.
Mayavi2 is still my go-to option for 3d right now, so if it happens that you'll want to use my help to diagnose this issue, I'll be there. It'll take about an hour to go through the painful process of importing it, but I will be doing this anyway.
Try downgrading to VTK 9.0.1.
I'm seeing the same issue as @Kukuster saw originally.
Sorry about that. The issue is fixed in master and we will push a release sometime later this week to address this. If you want you can test it out using::
pip uninstall mayavi
pip install https://github.com/enthought/mayavi/zipball/master
closing as the latest 4.7.4 mayavi release fixes this issue. please try reinstalling mayavi.
Almost every time I try to execute
from mayavi import mlab
, it freezes. Either in jupyter, in mayavi2 graphical program, or with plain python in CLI. Out of about 80 times, I've got it to work only 4-5 times.I've been trying to reinstall several dependencies, like pyqt5, libvtk6-dev, libpq5
I've been installing mayavi through pip. By the way, a few times "Building wheel" was freezing when trying to install mayavi. When this occurred, I had to terminate all pip processes, reinstall
PyQt5
, then install --upgrade half-installed mayavi installation.In all cases when I've got it to import successfully it was in jupyter. Here's the farthest I was able to get:
source:
All 2 or 3 times it outputted exactly the same stuff:
Image(value=b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01\x90\x00\x00\x01^\x08\x02\x00\x00\x00$?\xde_\x00\…
And that's it. It didn't render anything--- Upd --- To clarify, I need:
Thanks a lot!