问题
I would like to install the entire Open AI gym package.
After (I am on a mac) brew install cmake
, sudo pip install gym[all]
gives me the following error
I am using anaconda 4.3.22. I am not in a conda virtual environment. which python
outputs /anaconda/bin/python
. The interpreter that anaconda uses is python 3.6.1. Just running sudo pip gym
(which must be the minimal version) ran fine.
Thanks for the help.
回答1:
I have successfully installed gym on my mac laptop, and brew install swig
will solve the problem.
来源:https://stackoverflow.com/questions/44870717/trouble-installing-openais-gym