<div dir="ltr"><div>Hi George,</div><div><br></div><div>I have good experience using Conda to handle dependencies. In this case, you can do:<br></div><div><br></div><div><span style="font-family:monospace">. /opt/miniconda3/etc/profile.d/conda.s # enable conda<br> conda create --name mpi4py python=3.6 # create a new env, namely mpi4py<br> conda activate mpi4py<br> conda install mpi4py<br> pip install tensorflow # or pip install tensorflow-gpu<br> git clone <a href="https://github.com/openai/baselines.git" target="_blank">https://github.com/openai/baselines.git</a><br> cd baselines<br> pip install -e .<br> <br> # optionally test the installation<br> pip install pytest pandas matplotlib gym[atari]<br> pytest</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"></span>Hope it helps.</div><div><br></div><div>Thanks,<br></div><div>Jarod<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 1:32 PM Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I just had a quick look. Software appears to be untested by upstream<br>
on Red Hat derivatives which we use in the lab. I would firstly try to<br>
install the software on a spear laptop of a desktop running one of<br>
tested OSs (Ubunut or OS X). It that works and if software looks<br>
useful you should add yourself to one of the developer mailing list<br>
and we could try to install it on a Red Hat.<br>
<br>
Nuclear option is that we use singularity<br>
<br>
<a href="https://sylabs.io/docs/" rel="noreferrer" target="_blank">https://sylabs.io/docs/</a><br>
<br>
to run Ubuntu kernel in Red Hat userland if that is the only way to<br>
install things.<br>
<br>
Note that most large government labs in U.S. use Red Hat just like we<br>
do so upstream should get their act together.<br>
<br>
Predrag<br>
<br>
On Thu, Aug 8, 2019 at 1:06 PM George Stoica <<a href="mailto:gis@andrew.cmu.edu" target="_blank">gis@andrew.cmu.edu</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> I hope everything is well.<br>
><br>
> Apologies if this is not the correct place to ask this question, this is my first time posting.<br>
><br>
> I am trying to work with the openai baselines repository and need to install the mpi4py dependency for it. Unfortunately, I'm having a lot of trouble installing it, and none of the solutions I could find online appear to be working. I was wondering if anyone has faced this issue/how you were able to resolve it?<br>
><br>
> Thanks very much for your help!<br>
> George<br>
<br>
</blockquote></div>