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

pip安装库时报错:This error originates from a subprocess, and is likely not a problem with pip._第1张图片

 successful

你可能感兴趣的:(pip,python,linux,ubuntu)