使用 pipenv 安装 libarchive 返回文件/目录未找到错误。pip 文件包含包为libarchive==0.4.7
. 显示错误的日志:
...
[pipenv.exceptions.InstallError]: Verifying that the library is accessible.
[pipenv.exceptions.InstallError]: Library can not be loaded: [Errno 2] No such file or directory: b'liblibarchive.a'
[pipenv.exceptions.InstallError]: error: [Errno 2] No such file or directory: b'liblibarchive.a'
[pipenv.exceptions.InstallError]: ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Failed building wheel for libarchive
...
我在 Linux 上使用 Python3.8。