pip安装库时报错:This error originates from a subprocess, and is likely not a problem with pip.

  • 前言
  • 二、使用步骤
    • 1.引入库
    • 2.读入数据
  • 总结

 

一、报错原因

安装库时出现以下报错

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: -11
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

python版本与安装库的版本不一致报错

二、解决方法

查看要安装的库的版本:

我的python版本3.10所以安了mayavi的最高的版本

pip install mayavi==4.8.1

 successful

文章出处登录后可见!

已经登录?立即刷新

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
心中带点小风骚的头像心中带点小风骚普通用户
上一篇 2023年7月29日
下一篇 2023年7月29日

相关推荐