安装spinningup填坑ERROR: Could not build wheels for mpi4py which use PEP 517



深度强化学习教程:Spinning Up项目中文版 — Spinning Up 文档

  ERROR: Failed building wheel for mpi4py
Failed to build mpi4py
ERROR: Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly
安装spinningup填坑ERROR: Could not build wheels for mpi4py which use PEP 517_第1张图片

Installation — Spinning Up documentation

在虚拟机中spinningup安装时,报错,

简单粗暴的将setup.py中22行删除。好了。

mpi4py应该是并行计算之类的。虚拟机也不需要,

-------------后续发现不行,继续单独安装mpi4py----------

使用conda install mpi4py安装,否则pip安装总会出错。
同理,matplotlib用pip也总是安装不上,也直接上conda来安装

安装spinningup填坑ERROR: Could not build wheels for mpi4py which use PEP 517_第2张图片

你可能感兴趣的:(python,深度学习,RL,spinningup)