|
1396| 2
|
Amesim Transfer Function Builder 打开报错 |
|
The Transfer Function Builder is a tool that simplifies parameter setup of transfer functions and filters. It is attached to the generic transfer function submodels:
javascript:; 在使用Transfer Function Builder时,按照帮助文档点击相应图标,提示以下错误: [Python] Traceback (most recent call last): [Python] File "<string>", line 1, in <module> [Python] File "C:/Users/THINKPAD/AppData/Local/Temp\tmp56126\mainform.py", line 14, in <module> [Python] from .tfparam import * [Python] File "C:/Users/THINKPAD/AppData/Local/Temp\tmp56126\tfparam.py", line 22, in <module> [Python] from scipy import signal [Python] File "D:\Program Files\Simcenter\2020.1\AMESim\sys\python\win64\lib\site-packages\scipy\__init__.py", line 61, in <module> [Python] from numpy._distributor_init import NUMPY_MKL # requires numpy+mkl [Python] ModuleNotFoundError: No module named 'numpy._distributor_init' 按字面意思理解错误原因是: 这个错误信息表明 Python 试图从 scipy 包中导入 numpy._distributor_init 模块,但是没有找到这个模块。这通常意味着 numpy 包没有正确安装,或者安装的 numpy 版本与 scipy 需要的版本不兼容。 但是根据提示安装numpy 包后还是不行,请问有没有遇到类似情况,有解决办法没?(比如证书授权问题?) | |
|
已解决。折腾了一天,对Python各种环境变量和第三方库的路径进行折腾,还是不行,最后卸载amesim重装后恢复正常,原因可能为之前用Python时对amesim自带的Python进行了修改。
| |
|
已解决。折腾Python环境变量和路径都无效果,最后重装amesim解决。
| |

IP卡
狗仔卡
发表于 2024-7-11 16:58:35
提升卡
置顶卡
变色卡