enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 285 forks source link

Problem installing mayavi #438

Open danovar opened 8 years ago

danovar commented 8 years ago

Hello everyone,

due to some rendering issues with 3dbarplot in matplotlib I wanted to try plotting with mayavi. First I tried to install it via pip install mayavi. Then I downloaded the zipped package on the mayavi website and started setup.py.

Both ways finaly produced an error: ... copying tvtk\pyface\ui\wxinit.py -> build\lib.win32-2.7\tvtk\pyface\ui\wx running build_ext customize MSVCCompiler customize MSVCCompiler using build_ext building 'tvtk.array_ext' extension compiling C sources error: [Error 2] Das System kann die angegebene Datei nicht finden ...

Is there anything missing in the tvtk-sourcecode? I also tried to install tvtk only, but I can't find a download website.

I also made sure that all other required packages are alreadyx installed.

Running Python 2,7 on Windows 7, with VTK 7.0. And I am a Python newbie (with bad english :-))

Thanks in advance.

prabhuramachandran commented 8 years ago

If you install canopy or conda it should be much easier for you to install mayavi. Installing via pip is a bit difficult because you will need to install VTK. One possibility for you to install into your current setup might also be to install the packages from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/