使用 Enthought 进行比较和对比并安装各个库

发布于 2024-12-26 13:12:18 字数 48 浏览 0 评论 0原文

使用 Enthought 和安装各个库进行比较和对比。我不清楚每个选项提供的好处。

Compare and contrast using Enthought and installing individual libraries. I am not clear on the benefits each option offers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

拥有 2025-01-02 13:12:18

Enthought 允许通过简单的 UI 安装大量科学和数学库。然而,这意味着您可能会安装大量与您的需求无关的库。然而,它确实附带了一个用于可视化代码的套件。

尽管需要更多时间,但出去查看更适合您的需求的特定库的不同版本可能会更有益。主要是 NumPy、SciPy 和 PyTables 都很大,需要您自己安装。

最后,如果您想轻松地批量下载大量好东西,这一切都取决于您……但有一些不必要的负担;或者,您可以研究并安装特定的库来满足您的需求,这样您就可以确切地知道要使用什么以及如何使用……无论如何,在数据级别上“更便宜”。

就我个人而言,我可能会安装 Enthought。

顺便说一句,这个问题不太适合这个网站。 -->
https://stackoverflow.com/faq#dontask 提到“你最喜欢什么_____....”类型的问题不太好。

Enthought allows for a lot of scientific and mathematic libraries to be installed through the ease of a UI. This however, means you could be installing a good deal of libraries that are irrelevant to your needs. It does however come with a suite for visualizing your code.

Although it takes more time, going out and looking at different releases of specific libraries that are more centric to your requirements would probably be more beneficial. Mainly NumPy, SciPy and PyTables would be large ones to go and install yourself.

In the end, it's all up to you if you want to download bulk with a lot of good stuff easily... with some unnecessary baggage; or, you could research and install specific libraries to fit your needs so you know exactly what to use, and how... for 'cheaper' on a data level anyways.

Personally, I'd probably install Enthought.

On an unrelated note, this question isn't horribly fit for this site. -->
https://stackoverflow.com/faq#dontask Mentions that "What's your favorite_____.... type questions are not very good.

红玫瑰 2025-01-02 13:12:18

这完全取决于您希望使用哪些 python 库。我自己在 OS X 上的经验是,大多数 python 模块都需要编译工作,但我偶尔会遇到问题。特别是如果我需要匹配编译为通用二进制文件的系统Python的体系结构。老实说,这些天我只使用 Enthought,特别是因为我是一名学者,而且许可证是免费的——当我好意地询问他们时,他们甚至非常友善地允许我访问 64 位安装程序。

当老板决定将我的代码移至某些 Windows 机器上运行时,我也对我的决定感到满意...天哪,我很高兴我可以直接将他们指向单个 Enthought 安装程序,而不必通过安装 python 来握住他们的手+ 外部库。

总之,Enthought 对你来说可能是免费的,也可能不是……如果是的话,那么几乎肯定值得使用,即使你正在一个具有良好软件包存储库的 Linux 发行版上进行开发。如果您必须为 Enthought 付费,那么您必须评估它是否值得,只需记住考虑到您自己的时间成本。

如果您引用您想要使用的特定软件包和您的平台,我可以给您一个更好的猜测,即 Enthought 可能会给您带来多大的优势。

It all depends on which python libraries you are hoping to use. My own experience on OS X is that most python modules that require compilation work, but I've had issues with them occasionally. Especially if I need to match the architecture of the system Python which is compiled as universal binary. Honestly, I just use Enthought these days, especially since I'm academic and the license is free- they were even nice enough to give me access to the 64-bit installers when I asked them nicely.

I also was happy with my decision when a boss decided he wanted to move my code to run on some Windows boxes... boy was I glad I could just point them to the single Enthought installer rather than having to hold their hand through installing python + external libraries.

In summary, Enthought may or may not be free for you... if it is then it almost certainly worth using EVEN if you are developing on a linux distro with a good package repository. If you have to pay for Enthought then you'll have to evaluate whether it's worth the cost, just remember to factor in the cost of your own time.

If you cite specific packages you want to use and your platform I can give you a much better guess as to how big an advantage Enthought might be to you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文