1

我想构建审计轮并运行命令

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 安装。你能帮助正确的安装方法吗?

4

1 回答 1

1

正确安装方式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
于 2020-04-03T07:09:37.677 回答