当我尝试aesim.simba
在 Jupyter 笔记本(我有 Ubuntu budgie 21.10 作为操作系统)中导入(电力电子包)时,出现以下错误
import aesim.simba
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-2ec74653cfe4> in <module>
----> 1 import aesim.simba
~/anaconda3/lib/python3.7/site-packages/aesim/simba/__init__.py in <module>
1 #%% Load modules...
----> 2 import clr, sys, os
3
4 foldername = os.path.join(os.path.dirname(os.path.abspath(__file__)),'Resources')
5 sys.path.append(foldername)
ImportError: System.DllNotFoundException: libdl.so
at (wrapper managed-to-native) Python.Runtime.NativeMethods.dlerror()
at Python.Runtime.NativeMethods.GetProcAddress (System.IntPtr dllHandle, System.String name) [0x00014] in <8dd8fc13f92f45c99ad71297a6b63b31>:0
at Python.Runtime.Runtime.Initialize (System.Boolean initSigs) [0x00263] in <8dd8fc13f92f45c99ad71297a6b63b31>:0
at Python.Runtime.PythonEngine.Initialize (System.Collections.Generic.IEnumerable`1[T] args, System.Boolean setSysArgv, System.Boolean initSigs) [0x00014] in <8dd8fc13f92f45c99ad71297a6b63b31>:0
at Python.Runtime.PythonEngine.Initialize (System.Boolean setSysArgv, System.Boolean initSigs) [0x00005] in <8dd8fc13f92f45c99ad71297a6b63b31>:0
at Python.Runtime.PythonEngine.InitExt () [0x00000] in <8dd8fc13f92f45c99ad71297a6b63b31>:0
我是 Linux 世界的新手。谁能告诉我如何解决这个问题以及如何aesim.simba
正确导入?