araffin / rl-baselines-zoo

A collection of 100+ pre-trained RL agents using Stable Baselines, training and hyperparameter optimization included.
https://stable-baselines.readthedocs.io/
MIT License
1.12k stars 208 forks source link

Error "ImportError: DLL load failed" on Windows 10 #46

Closed sytelus closed 4 years ago

sytelus commented 4 years ago

I got the following error in train.py in Windows 10 when running statement from mpi4py import MPI:

ImportError: DLL load failed: The specified procedure could not be found.

The solution was to uninstall mpi4py package, install Microsoft MPI 10.0 and then reinstall mpi4py.

I think it might be good to document that people should first install Microsoft MPI 10.0. Even better, just don't import mpi4py if everything is on single machine :).

More: https://stackoverflow.com/a/58653569/207661

araffin commented 4 years ago

Hello,

Thanks for the pointer, but in fact this is already documented

However, the current state of the zoo requires mpi even though stable-baselines can installed without it now. So I would appreciate a PR in the same spirit of what we do here to make mpi optional for the zoo.

araffin commented 4 years ago

MPI is now optional since #60