문제

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