简体   繁体   English

尝试安装openAI Gym时无法建立车轮错误

[英]Cannot build wheel error when trying to install openAI gym

I saw that failure to build wheel atari-py, pachi-py was a common problem people ran into when installing openai gym in mac. 我看到无法在Mac上安装Openai Gym时遇到的常见问题是无法建立车轮atari-py,pachi-py。 And the solutions suggested in them was to use export commands export MACOSX_DEPLOYMENT_TARGET=10.11 export SDKROOT=/path/to/Mac10.11SDK before making the build. 其中建议的解决方案是在进行构建之前,使用导出命令export MACOSX_DEPLOYMENT_TARGET = 10.11 export SDKROOT = / path / to / Mac10.11SDK。 I tried the given suggestions and yet I am finding the same error when trying to install full openai gym. 我尝试了给定的建议,但是在尝试安装完整的openai健身房时却发现了相同的错误。 Can anyone help me in getting around this issue ? 谁能帮助我解决这个问题?

verify if you already installed cmake, if not you can do it with: $ brew install cmake 验证是否已经安装了cmake,如果没有,则可以执行以下操作: $ brew install cmake

and later you can install atari-py: $ pip install atari-py 然后可以安装atari-py: $ pip install atari-py

Reference in oficial GitHub repo 官方GitHub存储库中的参考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM