On 11/7/15 1:41 AM, Christopher Snyder wrote:
> So I think it depends on how you have mayavi installed. (Make sure you have
> mayavi installed). I just do "import mayavi". I think "import 
> enthought.mayavi"
> assumes you got it as part of some enthought distribution. That's best guess 
> off
> the top of my head.

Very very long ago, all the ETS packages were in the "enthought" namespace.
After a while it was found that the namespace packages caused several problems
and so we removed the enthought namespace.  In order to maintain backwards
compatibility, an etsproxy package was made available which provided the
"enthought.*" compatibility layer.  Many of the old tutorials, documents etc.
still use enthought.mayavi but that is deprecated.  You should use "import 
mayavi".

cheers,
Prabhu

------------------------------------------------------------------------------
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to