当前位置: 首页 > article >正文

安装mindspore_rl踩坑

症状:

 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/4b/48/920cea66177b865663fde5a9390a59de0ef3b642ad98106ac1d8717d7005/gym-0.21.0.tar.gz (1.5 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in gym setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.

解决:

pip install setuptools==65.5.0 pip==21  # gym 0.21 installation is broken with more recent versions

pip install wheel==0.38.0

参考:

安装gym==0.21.0出现error in gym setup command: 'extras_require' must be a dictionary... - 知乎

Expected end or semicolon (after version specifier) opencv-python>=3. 解决方案_expected end or semicolon (after name and no valid-CSDN博客


http://www.kler.cn/a/534090.html

相关文章:

  • 新型智慧城市建设方案-1
  • 在 Spring Boot 项目中,bootstrap.yml 和 application.yml文件区别
  • MyBatis XML文件配置
  • 无人机图传模块 wfb-ng openipc-fpv,4G
  • C#面试常考随笔13: 泛型的主要约束和次要约束是什么?
  • Python爬虫:1药城店铺爬虫(完整代码)
  • 【深度学习】Java DL4J基于 RNN 构建智能停车管理模型
  • 华为OD最新机试真题-狼羊过河-Java-OD统一考试(E卷)
  • 大语言模型极速部署:Ollama 、 One-API、OpenWebUi 完美搭建教程
  • 大语言模型的「幻觉」(Hallucination)是指模型在生成内容时
  • 玩转goroutine:Golang中对goroutine的应用
  • js的 encodeURI() encodeURIComponent() decodeURI() decodeURIComponent() 笔记250205
  • 解决python写入csv时如000111样式的字符串前面的0被忽略掉的问题
  • DeepSeek-R1:开源机器人智能控制系统的革命性突破
  • Linux中安装rabbitMQ
  • 【含文档+PPT+源码】Python爬虫人口老龄化大数据分析平台的设计与实现
  • .net framework 4.5 的项目,用Mono 部署在linux
  • 【算法篇】选择排序
  • Mysql:数据库
  • docker单机运行环境的zabbix升级实战(从6.2.6升级到7.2.3)
  • Centos 8 离线升级openssh 9.9
  • Linux下线程间同步实现方式详解
  • ZooKeeper单节点详细部署流程
  • 【Kubernetes Pod间通信-第3篇】Kubernetes中Pod与ClusterIP服务之间的通信
  • OSPF基础(1)
  • JDK 中 NIO 框架设计与实现:深入剖析及实战样例