xuance
xuance copied to clipboard
from mpi4py import MPI ImportError: DLL load failed: 找不到指定的模块。
i completely followed the installation, Step1-3, then pip install xuanpolicy[torch], but when i import xuanpolicy, it came to "from mpi4py import MPI " and error "ImportError: DLL load failed: 找不到指定的模块。", What's going on ?
Hi, can you tell me which operating system did you use to install xuanpolicy?
Hi, can you tell me which operating system did you use to install xuanpolicy?
win10
You can try to install an MPI program from here. Then, reinstall mpi4py:
pip uninstall mpi4py
pip install mpi4py
You can try to install an MPI program from here. Then, reinstall mpi4py:
pip uninstall mpi4pypip install mpi4pyno, it didn't work. a new error appear "OSError: [WinError 126] 找不到指定的模块。"
This link shows a similar issue to yours, hope it will be useful.
按照上述博客方法复制magent.dll到指定文件夹后,还会出现这个错误
Because the software MPI is missing in your PC. For windows system, you can download [msmpisetup.exe] from link https://www.microsoft.com/en-us/download/details.aspx?id=57467 and install it. Then it works.