matlab函数生成python包

在matlab生成python包之后,使用python setup.py install安装时显示

running install
running build
running build_py
creating build
creating build\lib
creating build\lib\hough
copying hough\__init__.py -> build\lib\hough
copying hough\hough.ctf -> build\lib\hough
running install_lib
running install_egg_info
Removing C:\Users\Lib\site-packages\matlabruntimeforpython-R2021a-py3.7.egg-info
Writing C:\Users\Lib\site-packages\matlabruntimeforpython-R2021a-py3.7.egg-info
removing 'build\lib' (and everything under it)
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.7' does not exist -- can't clean it
removing 'build'

使用时也显示ImportError: DLL load failed: 找不到指定的程序,请问该怎么解决呢

如有帮助,请点击下方评论的采纳按钮。

ImportError: DLL load failed: 导入失败原因,DLL包未放入 安装python目录下的Lib\site-packages,如我的安装路径为:

D:\Programs\Python\Python3.7\Lib\site-packages