I would like to use mayavi for 3d data visualization. I downloaded Mayavi module package, as well as dependencies VTK, wxpython, conjigobj. At compile time with IDLE, I have nevertheless a warning

No module named traits.api. I find that this module is distributed with Entought, so that I am wondering whether I can ever use mayavi without using Enthought distribution. Is there some free Enthought disribution available?

Thanks and regards.

有帮助吗?

解决方案

Generally you can use the library without the enthought distribution. Linux users usually install these modules using their package manager. For windows, there is python(x,y) which includes the enthought toolkits. The import scope however is misleading sometimes. In some examples it's traits.api, others read enthought.traits.api. You might want to check which one is true for your python installation.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top