Closed shuhuilee closed 4 years ago
I triedsudo apt install libopenmpi-dev
and ran the pip3 install
command again, but it did not work
Tried brew install openmpi
and brew install mpich
which clashes with the first command, as per suggestions on https://github.com/openai/baselines/issues/114
Ran pip3 install
. Still fatal error, mpi.h not found.
Tried downloading via Synaptic.
Searched for, downloaded, and installed all mpi-related packages on packages.ubuntu.com for bionic 18.04 -- ran the pip3 install
command again, still no change.
Instead of proceeding within the folder ~/install
, I used cd
to exit to root directory.
Executing the pip3 install --user --no-binary=h5py h5py
command then worked without incident.
(Context: Following the Build from Source code on MEEP documentation site)
on doing
pip3 install --user --no-binary=h5py h5py
there is a termination due to mpi.h not being present.I looked online and saw that some said the issue is due to an absence of C++ or C linkers when doing install. How does one specify a header such as
CC=mpicc
when issuing apip3 install
command? it seems to work differently from saysh autogen.sh
or./compile