【亲测解决】pip install wavedrom 报错,error: subprocess-exited-with-error

wavedroma安装报错,error: subprocess-exited-with-error 解决方案

问题描述

pip install wavedrom 
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
Collecting wavedrom
  Using cached http://mirrors.cloud.aliyuncs.com/pypi/packages/be/71/6739e3abac630540aaeaaece4584c39f88b5f8658ce6ca517efec455e3de/wavedrom-2.0.3.post3.tar.gz (137 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]
      WARNING: The repository located at mirrors.cloud.aliyuncs.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host mirrors.cloud.aliyuncs.com'.
      ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)
      ERROR: No matching distribution found for setuptools_scm

解决方案

网上搜索都没有成功,最后看报错信息,发现是,
一、setuptools_scm找不到版本号

ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)
      ERROR: No matching distribution found for setuptools_scm

二、阿里源不信任

因此,
第一步,安装

pip install setuptools_scm

第二步,清华源安装

pip install wavedrom -i https://pypi.tuna.tsinghua.edu.cn/simple

game over.

  • 8
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
问题: pip install pybedtools 安装报错 error: subprocess-exited-with-error 回答: 当你执行 pip install pybedtools 命令时,如果出现 error: subprocess-exited-with-error 错误,可能是由于一些原因导致安装过程中出现了错误。为了解决这个问题,你可以尝试以下几个步骤: 1. 确认你的电脑上是否安装了所需的依赖库。pybedtools 可能依赖于其他库,你可以通过运行 pip install 命令来安装这些依赖库。确保你的依赖库已经安装并且是最新版本。 2. 确认你的操作系统和Python版本是否是最新的。某些依赖库只能在特定版本的Python上运行。你可以通过运行 python --version 命令来查看你的Python版本。如果你的Python版本过旧,并且你正在运行一个与Python版本不兼容的库,你可能需要更新你的Python版本。 3. 如果以上步骤都无法解决问题,你可以尝试重新安装Python。你可以通过运行 python -m ensurepip 命令来重新安装Python。这将确保你的Python安装是完整的,并且包含了必要的工具和库。 总之,当你遇到 pip install pybedtools 安装报错 error: subprocess-exited-with-error 错误时,你可以尝试检查依赖库、更新Python版本或重新安装Python解决问题。 #### 引用[.reference_title] - *1* *2* *3* [pip安装软件包报错error subprocess-exited-with-error问题记录](https://blog.csdn.net/weixin_53742691/article/details/130931339)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值