manylinux auditwheel installation errors

1.2k Views Asked by At

I wanted to build auditwheel and run a command

auditwheel repair dist/*.whl

I get this two kind of errors on multiple versions of auditwheel

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

and

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

I've tried almost every version of auditwheel installation. could you help correct way to install?

1

There are 1 best solutions below

1
On BEST ANSWER

correct way to install 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