文件存在,但无法打开

2024-05-16 18:07:02 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了cosmosis,在配置或运行初始演示时没有出现任何错误。现在,当我尝试运行另一个演示时,出现以下错误:

"Error was %s" % (filepath, error))
cosmosis.runtime.module.SetupError: You specified a path /home/vilasini/cosmosis/cosmosis-standard-library/likelihood/planck2015/planck_interface.so for a module. File exists, but could not be opened. Error was libcfitsio.so.7: cannot open shared object file: No such file or directory

我在安装文件中给出了库的正确路径。我也尝试过链接,但没有任何效果。我也尝试过重新编译cosmosis。在该做的事情上有任何帮助都是很好的。你知道吗


Tags: pathyouhome错误errorfileruntimemodule