简体   繁体   English

Mayavi Python-强制发行是强制性的吗?

[英]Mayavi Python - is Enthought distribution mandatory?

I would like to use mayavi for 3d data visualization. 我想使用mayavi进行3D数据可视化。 I downloaded Mayavi module package, as well as dependencies VTK, wxpython, conjigobj. 我下载了Mayavi模块软件包,以及依赖项VTK,wxpython,conjigobj。 At compile time with IDLE, I have nevertheless a warning 在使用IDLE进行编译时,我仍然有一个警告

No module named traits.api. 没有名为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. 我发现此模块与Entought一起分发,因此我想知道是否可以在不使用Enthought分发的情况下使用mayavi。 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. Linux用户通常使用其程序包管理器安装这些模块。 For windows, there is python(x,y) which includes the enthought toolkits. 对于Windows,有python(x,y) ,其中包括精心设计的工具包。 The import scope however is misleading sometimes. 但是,导入范围有时会产生误导。 In some examples it's traits.api , others read enthought.traits.api . 在一些例子中是traits.api ,别人看了enthought.traits.api You might want to check which one is true for your python installation. 您可能想检查哪种方法适用于python安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM