Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi4py has no module "MPI" #9

Open
BruceYanghy opened this issue Oct 19, 2020 · 2 comments
Open

mpi4py has no module "MPI" #9

BruceYanghy opened this issue Oct 19, 2020 · 2 comments

Comments

@BruceYanghy
Copy link
Member

https://stackoverflow.com/questions/14004457/error-loading-mpi-dll-in-mpi4py

openai/large-scale-curiosity#15

Anyone got this error?

I have a bunch of problems when I use my Windows 10 machine, I would highly suggest using a VM like AWS EC2 or a macOS/ubuntu based machine.

@ErlerPhilipp
Copy link

ErlerPhilipp commented May 19, 2021

In case anyone cares, I also had this issue. Looks like installing mpi4py via PIP doesn't work but via conda does.

Here is a conda YML based on the provided requirements.txt to create an environment:

name: drl
channels:
  - pytorch
  - anaconda
  - conda-forge
  - defaults
dependencies:
  - pip
  - numpy>=1.16.4
  - pandas>=1.0.3
  - scikit-learn>=0.21.0
  - gym>=0.15.3
  - tensorflow-gpu=1.14.0
  - joblib>=0.15.1
  - matplotlib>=3.2.1
  - pytest>=5.3.2,<6.0.0
  - setuptools>=41.4.0,<42.0.0
  - wheel>=0.33.6,<0.34.0
  - mpi4py
  - pip:
    - stockstats
    - stable-baselines[mpi]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants