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 installThis 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 sundialsAny 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.
更多推荐
发布评论