该问题一般发生在Windows系统上,如果项目依赖到gym,就有可能触发该问题,因为AutoROM是gym的一个依赖,错误信息如下:

ImportError: It seems that you are trying to install the Atari ROMs on Windows. While this is not supported, the DLL error can be solved by installing the OpenSSL DLLs from: https://slproweb.com/products/Win32OpenSSL.html

根据上述错误提示和AutoROM的官方文档:

IMPORTANT: We do not have official support for Windows. However, if you are on Windows and encounter a DLL import error, you may need to install OpenSSL v1.1.1S.

可知:AutoROM官方没有声明支持Windows,但是其实是可以运行的,其中最常遇到的就是上面这个错误。根具官方建议:在Windows上下载并安装OpenSSL v1.1.1S即可解决问题,实测有效。OpenSSL的下载地址:https://slproweb.com/products/Win32OpenSSL.html,注意:选择OpenSSL v1.1.1S,v3没有测试过。

此外,还有两点需要注意:

  • 该问题使用virtualenv和conda构建环境时都会遇到,从这个问题上看:conda未必能解决所有Windows上的兼容性问题;
  • 可能你的Windows命令行能调出openssl命令,但它可能是在cigwen等环境下安装的,系统层面上是没有,还是需要安装OpenSSL

ERROR: Could not build wheels for AutoROM...解决方法相关推荐

  1. 【错误记录】Mac 中 Python 报错 ( ERROR: Could not build wheels for numpy which use PEP 517 | 问题未解决 | 问题记录 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 首先 , 更新 pip ; 执行如下命令 : /usr/local/bin/python3 -m pip install --upgrade pip ...

  2. 成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based

    成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based ...

  3. 解决安装mmdet报错- ERROR: Could not build wheels for pycocotools, which is required to install pyproject.t

    记录一下自己在安装mmlab中的mmdet库遇到的问题,直接使用pip install mmdet报错如下: ERROR: Could not build wheels for pycocotools ...

  4. ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

    问题描述 最近在ubuntu16.04上安装pwntools卡到一个问题,报错提示如下: ERROR: Could not build wheels for cryptography which us ...

  5. ERROR: Could not build wheels for mujoco-py which use PEP 517 and cannot be installed directly

    今天安装mujoco-py的时候,遇见了下面的错误: ➜ v2 pip install mujoco-py Looking in indexes: http://pip.baidu.com/root/ ...

  6. 安装pycocotools时遇到ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be instal

    操作系统:ubuntu18.04.6 最近在安装MMdetection3d时,其中一步需要安装pycocotools,但是直接采用 pip install pycocotools 进行安装时,我遇到了 ...

  7. ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based pro

    安装pycocotools时总是安装不成功?  问题1:ERROR:Could not build wheels for pycocotools, which is required to insta ...

  8. ERROR:Could not build wheels for pycocotools, which is required to install pyproject.toml-based

    我下载paddlex时候出现的问题 利用国内镜像资源下载比较快 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple paddlex 你以为这 ...

  9. ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects

    近期新装了一台深度学习工作站,完成基本环境的配置.但是在Python多进程模块配置上遇到了以前也遇到过的问题,为了防止相似情况再次发生,特此记下. 问题描述: 执行以下命令: pip install ...

最新文章

  1. 使用STC8H1K28控制微型磁悬浮
  2. java学习笔记—国际化(41)
  3. noip2008普及组4题题解-rLq
  4. pm_bout_1/2_on_subway
  5. 简单版:带干扰线的图形验证码生成
  6. [DP思考录]向左走,向右走: Observer模式 VS Mediator模式
  7. 划分子网后的三级结构
  8. Java多线程(七)——线程中断
  9. FLV文件格式官方规范详解
  10. quartus ii IP核的破解
  11. 驱动一款淘宝购买的130万像素的USB双目摄像头-记录
  12. 计算机教师的人生格言,教师人生格言大全
  13. 状态方程simulink仿真_控制系统设计与仿真作业与复习资料
  14. Unit 1: Packet Sniffing 1.1 Packet Sniffing Packet Sniffing Demos 1
  15. CTO成长之路(一):优秀的程序员
  16. fabs () 函数
  17. 经典算法题-球和篮子
  18. 各类数值型数据间的混合运算
  19. html中正确给table加边框
  20. uniapp 实现人脸认证

热门文章

  1. 电商运营年度报告怎么做?看这篇文章就够了
  2. [例题详解]真值 机器数概念 | 原码 反码 补码 移码 概念及加减计算
  3. 软测面试理论题及其答案
  4. Spring全家桶第一篇--认识全家桶
  5. S01E04-Miya 的故事|从工地打印小妹,到全球知名教育公益开源社区大使
  6. 南大通用数据库-Gbase-8a-学习-34-gcdump(导出数据库对象定义)
  7. 三feng云,免费主机
  8. 两千四百道运维题知识整理
  9. 广州.NET俱乐部的活动
  10. OpenCV中的相机失真、内外参、不失真图像、相机校准