|
在安装HomeAssistant时遇到问题,各位大佬能否帮忙看一下什么原因?
python3.6安装成功
pip安装成功
gcc安装成功
但是PyNaCl每次都安装不成功,请问各位大佬这个是什么原因呀?
Install python module: PyNaCl...... try 1.
Collecting pynacl==1.3.0
Downloading PyNaCl-1.3.0.tar.gz (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 1.6 MB/s eta 0:00:00
Installing build dependencies ...
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [122 lines of output]
Collecting setuptools
Downloading setuptools-67.6.1-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 636.3 kB/s eta 0:00:00
Collecting wheel
Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 18.7 MB/s eta 0:00:00
Collecting cffi>=1.4.1
Downloading cffi-1.15.1.tar.gz (508 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 kB 6.8 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 20.1 MB/s eta 0:00:00
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter i s deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-39
creating build/lib.linux-aarch64-cpython-39/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-aarch64-cpython-39
creating build/temp.linux-aarch64-cpython-39/c
/usr/bin/ld: cannot find -lffi
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
Installing collected packages: wheel, setuptools, pycparser, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for cffi did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
/usr/lib/python3.9/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter i s deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running install
/usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecate d. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-39
creating build/lib.linux-aarch64-cpython-39/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/recompiler.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/pkgconfig.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/model.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/error.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/commontypes.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/api.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_cffi_include.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/parse_c_type.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_embedding.h -> build/lib.linux-aarch64-cpython-39/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-cpython-39/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-aarch64-cpython-39
creating build/temp.linux-aarch64-cpython-39/c
/usr/bin/ld: cannot find -lffi
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> cffi
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
|
|