openai / random-network-distillation

Code for the paper "Exploration by Random Network Distillation"
https://openai.com/blog/reinforcement-learning-with-prediction-based-rewards/
881 stars 160 forks source link

Problems while installing libraries required to run it [mpi4py] #22

Open TheRealRazbi opened 4 years ago

TheRealRazbi commented 4 years ago

Hello, I am trying to get the code running on my machine. I clonned the repo, I made a virtual interpreter and I started installing packages needed to run I did pip install opencv-python, then I pip install baselines , took a while to install tensorflow, also I started a mojoco trial just to run this. I installed the latest version of mojoco which still works for Windows. Anyways I tried running run_atari.py and I got this :

(RND_tests) C:\Users\Calculator\PycharmProjects\RND_tests>python run_atari.py Traceback (most recent call last): File "run_atari.py", line 6, in from mpi4py import MPI ImportError: DLL load failed: The specified module could not be found.

Platform: Windows 10 - 64bits Mujoco version : mujoco-py-1.50.1.68

So I tried doing pip install mpi4py and I got this

D:\Python Workshop\RND_tests\Scripts>pip install mpi4py Requirement already satisfied: mpi4py in d:\python workshop\rnd_tests\lib\site-packages (3.0.3) tensorboard 2.1.1 has requirement setuptools>=41.0.0, but you'll have setuptools 39.1.0 which is incompatible. google-auth 1.11.3 has requirement setuptools>=40.3.0, but you'll have setuptools 39.1.0 which is incompatible. You are using pip version 10.0.1, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

What have I done wrong? Should I install some really specific versions or should I reinstall in a specific order? I tried following the "docs" of this repo, but It never mentions any details of this sort

How can I fix the issue?