我已经尝试过:
- 以 sudo 运行命令(如您所见)
- 降级点子
- 安装 make 和其他 build-essential
- 单独安装 pynacl
- 在不使用 PEP 517 的情况下安装它(它没有安装,只是输出一个需要 PEP 517 的错误)
Linux Ubuntu 18.04(服务器)Python3 版本是 3.6.9 pip 是最新版本(如果我是正确的,是 21.1)我正在通过 Webmin 1.973 做所有事情
我使用命令“sudo pip3 install pynacl --log”重新运行日志链接:登录 pastebin.pl
> sudo pip3 install pynacl
WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.6/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.6/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.6/UNKNOWN
sysconfig: /usr/include/python3.6m
WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Collecting pynacl
Using cached PyNaCl-1.4.0.tar.gz (3.4 MB)
WARNING: Value for purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/lib/python3/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
WARNING: Value for platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/lib/python3/dist-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting cffi>=1.4.1
Using cached cffi-1.14.5-cp36-cp36m-manylinux1_i686.whl (378 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pynacl) (1.11.0)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: pynacl
Building wheel for pynacl (PEP 517): started
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): still running...
Building wheel for pynacl (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1: