openai / spinningup

An educational resource to help anyone learn deep reinforcement learning.
https://spinningup.openai.com/
MIT License
10.18k stars 2.23k forks source link

MPI initializing forever #358

Open Random8756 opened 2 years ago

Random8756 commented 2 years ago

The process gets stuck when i run the test program. I found that from mpi4py import MPI leads to this situation. I also tried:

  import mpi4py 
  mpi4py.rc.initialize = False
  from mpi4py import MPI
  MPI.Init()

and it hangs atMPI.Init() Infinitely. What should I do to resolve that? Thanks for any help. Settings: mpi4py 3.0.2     python 3.6.13     anaconda 4.9.2