日installed已安装,但没有运行在与屁股蟒蛇(Sundials installed but not running in python with assimulo)

编程入门 行业动态 更新时间:2024-10-28 17:29:46
日installed已安装,但没有运行在与屁股蟒蛇(Sundials installed but not running in python with assimulo)

Cheerio,

我正在尝试使用Assimulo 2.9。 在Mac OS X上。为此我通过cmake下载并安装了日历,方法是创建一个builddir到下载文件并运行../Downloads/sundials-2.7.0运行

$cmake ../Downloads/sundials-2.7.0 $make $make install

这应该在/ usr / local中安装所有内容。 这样做时,我没有错误警告。 但是当我试图在python中使用assimulo时,会出现以下错误消息:

from .sundials import IDA, CVode ImportError: No module named sundials

有什么建议么?

非常感谢你。

Cheerio,

I am trying to use Assimulo 2.9. on a Mac OS X. For that I downloaded and installed sundials via cmake by creating a builddir to the Download file and ../Downloads/sundials-2.7.0 running

$cmake ../Downloads/sundials-2.7.0 $make $make install

This should install everything in /usr/local. It gives me no error warning when doing this. But when I am trying to use assimulo in python, following error message occurs:

from .sundials import IDA, CVode ImportError: No module named sundials

Any suggestions?

Thank you very much.

最满意答案

诀窍是通过自制软件安装所有东西,并获取缺少的sundials.so文件。 似乎pypi上的当前assimulo-2.9发行版不提供此共享对象库,因此会触发此错误消息。

The trick was to install everything through homebrew and get the missing sundials.so file. It seems that the current assimulo-2.9 distribution on pypi does not provide this shared object library and therefore triggers this error message.

更多推荐

本文发布于:2023-08-06 17:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1453908.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:蟒蛇   在与   屁股   installed   assimulo

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!