manylinux auditwheel 安装错误

manylinux auditwheel installation errors

我想构建 auditwheel 和 运行 命令

auditwheel repair dist/*.whl

我在多个版本的 auditwheel 上遇到这两种错误

ImportError: cannot import name 'open_for_csv' from 'wheel.util' (/opt/hostedtoolcache/Python/3.7.5/x64/lib/python3.7

auditwheel: error: cannot find the 'patchelf' tool, which is required

我几乎尝试了每个版本的 auditwheel 安装。你能帮助正确的安装方式吗?

正确的安装方式patchelf

wget http://nixos.org/releases/patchelf/patchelf-0.10/patchelf-0.10.tar.bz2
tar xf patchelf-0.10.tar.bz2
cd patchelf-0.10
./configure
make install