Trouble installing OpenAI's gym

安稳与你 提交于 2021-01-28 09:01:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!