本文介绍了无法安装OpenAI的健身室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装整个

我正在使用anaconda 4.3.22.我不是在conda虚拟环境中.哪个python 输出/anaconda/bin/python .anaconda使用的解释器是python 3.6.1.只需运行 sudo pip Gym (必须是最低版本)即可.

感谢您的帮助.

解决方案

我已经在Mac笔记本电脑上成功安装了Gym,而 brew install swig 将解决此问题.

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.

解决方案

I have successfully installed gym on my mac laptop, and brew install swig will solve the problem.

这篇关于无法安装OpenAI的健身室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-07 18:28