gpt4 book ai didi

python - pyFMI 模型 : The FMU contains no binary for this platform

转载 作者:太空宇宙 更新时间:2023-11-04 02:22:24 24 4
gpt4 key购买 nike

我正在尝试使用 Python 中的 pyFMI 包运行简单教程示例,但出现错误 The FMU contains no binary for this platform。尝试为 FMULibrary 设置环境变量,但错误仍然存​​在。

如有任何提示,我将不胜感激。

runfile('C:/Users/NiPap/.spyder-py3/temp.py', wdir='C:/Users/d60378/.spyder-py3')
Could not find RADAR5
Could not find GLIMDA
Traceback (most recent call last):

File "<ipython-input-1-b6c744d814b8>", line 1, in <module>
runfile('C:/Users/NiPap/.spyder-py3/temp.py', wdir='C:/Users/d60378/.spyder-py3')

File "C:\Users\NiPap\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
execfile(filename, namespace)

File "C:\Users\NiPap\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/NiPap/.spyder-py3/temp.py", line 9, in <module>
fmi_bouncing_ball.run_demo()

File "C:\Users\NiPap\AppData\Local\Continuum\anaconda3\lib\site-packages\pyfmi\examples\fmi_bouncing_ball.py", line 32, in run_demo
model = load_fmu(fmu_name)

File "src\pyfmi\fmi.pyx", line 7157, in pyfmi.fmi.load_fmu (src\pyfmi\fmi.c:82903)

File "src\pyfmi\fmi.pyx", line 2666, in pyfmi.fmi.FMUModelME1.__init__ (src\pyfmi\fmi.c:33458)

File "src\pyfmi\fmi.pyx", line 943, in pyfmi.fmi.FMUModelBase.__init__ (src\pyfmi\fmi.c:14153)

FMUException: The FMU contains no binary for this platform.

最佳答案

最新版本的 PyFMI 的示例 FMU 中没有 64 位 dll。但是,在即将发布的版本中会有。如果没有 64 位 dll,则无法在 64 位环境中模拟 FMU。

关于python - pyFMI 模型 : The FMU contains no binary for this platform,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51265302/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com