Spinning Up with MacPorts
[
]
OpenAI’s Spinning Up tutorial is a great resource, but its installation procedures aren’t so friendly for those on Mac OSX and using MacPorts instead of HomeBrew.
After struggling a bit trying to figure out how to install openmpi
with MacPorts, I finally stumbled across this thread, which gave me an inkling as to where to go.
I kept on trying to run the pip
install for the spinningup
repo, but repeatedly hit this error when installing mpi4py
.
_configtest.c:2:10: fatal error: 'mpi.h' file not found
#include <mpi.h>
It turns out I needed to install openmpi-devel
AND activate it via MacPorts:
sudo port install openmpi-devel
sudo port select --set mpi openmpi-devel-mp-fortran
After this, all went well.
Archive
chinese
tang-dynasty-poetry
李白
python
王维
rl
pytorch
numpy
emacs
杜牧
spinningup
networking
deep-learning
贺知章
白居易
王昌龄
杜甫
李商隐
tips
reinforcement-learning
macports
jekyll
骆宾王
贾岛
孟浩然
xcode
time-series
terminal
regression
rails
productivity
pandas
math
macosx
lesson-plan
helicopters
flying
fastai
conceptual-learning
command-line
bro
黄巢
韦应物
陈子昂
王翰
王之涣
柳宗元
杜秋娘
李绅
张继
孟郊
刘禹锡
元稹
youtube
visdom
system
sungho
stylelint
stripe
softmax
siri
sgd
scipy
scikit-learn
scikit
safari
research
qtran
qoe
qmix
pyhton
poetry
pedagogy
papers
paper-review
optimization
openssl
openmpi
nyc
node
neural-net
multiprocessing
mpi
morl
ml
mdp
marl
mandarin
macos
machine-learning
latex
language-learning
khan-academy
jupyter-notebooks
ios-programming
intuition
homebrew
hacking
google-cloud
github
flashcards
faker
docker
dme
deepmind
dec-pomdp
data-wrangling
craftsman
congestion-control
coding
books
book-review
atari
anki
analogy
3brown1blue
2fa