|
本帖最后由 z741554038 于 2019-11-6 14:04 编辑
小白求助
检查配置图如下
安装错误信息如下
$ pip install -i https://pypi.tuna.tsinghua.edu.cn/simple PyNaCl
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting PyNaCl
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/61/ab/2ac6dea8489fa713 e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: six in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from PyNaCl) (1.12.0)
Requirement already satisfied: cffi>=1.4.1 in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from PyNaCl) (1.13.2)
Requirement already satisfied: pycparser in /data/data/com.termux/files/usr/lib/python3.7/site-packages (from cffi>=1.4.1->yNaCl) (2.19)
Building wheels for collected packages: PyNaCl
Building wheel for PyNaCl (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /data/data/com.termux/files/usr/bin/python /data/data/com.termux/files/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /data/data/com.termux/files/usr/tmp/tmp1cvuwi1g
cwd: /data/data/com.termux/files/usr/tmp/pip-install-da_astlb/PyNaCl
Complete output (78 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.7
creating build/lib.linux-aarch64-3.7/nacl
copying src/nacl/__init__.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/encoding.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/exceptions.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/hash.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/hashlib.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/public.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/secret.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/signing.py -> build/lib.linux-aarch64-3.7/nacl
copying src/nacl/utils.py -> build/lib.linux-aarch64-3.7/nacl
creating build/lib.linux-aarch64-3.7/nacl/pwhash
copying src/nacl/pwhash/__init__.py -> build/lib.linux-aarch64-3.7/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.linux-aarch64-3.7/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.linux-aarch64-3.7/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.linux-aarch64-3.7/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.linux-aarch64-3.7/nacl/pwhash
creating build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/__init__.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.linux-aarch64-3.7/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.linux-aarch64-3.7/nacl/bindings
running build_clib
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
main()
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 182, in build_wheel
metadata_directory)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 209, in build_wheel
wheel_directory, config_settings)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 194, in _build_with_temp_dir
self.run_setup()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 237, in run_setup
self).run_setup(setup_script=setup_script)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 255, in <module>
"rogramming Language :: Python :: 3.7",
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oewitcnp/overlay/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/data/data/com.termux/files/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 159, in run
raise Exception("ERROR: The 'make' utility is missing from PATH")
Exception: ERROR: The 'make' utility is missing from PATH
----------------------------------------
ERROR: Failed building wheel for PyNaCl
Running setup.py clean for PyNaCl
Failed to build PyNaCl
ERROR: Could not build wheels for PyNaCl which use PEP 517 and cannot be installed directly
|
|