ERROR: Command errored out with exit status 1:
command: 'd:\py39_en_x64\python.exe' 'd:\py39_en_x64\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\H\AppData\Local\Temp\tmp5ga7z08l'
cwd: C:\Users\H\AppData\Local\Temp\pip-install-in52ggej\cryptography
Complete output (40 lines):
Traceback (most recent call last):
File "d:\py39_en_x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
main()
File "d:\py39_en_x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "d:\py39_en_x64\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 69, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\build_meta.py", line 161, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 54, in <module>
setup(
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "d:\py39_en_x64\lib\distutils\core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\dist.py", line 423, in __init__
_Distribution.__init__(self, {
File "d:\py39_en_x64\lib\distutils\dist.py", line 292, in __init__
self.finalize_options()
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\dist.py", line 695, in finalize_options
ep(self)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\setuptools\dist.py", line 702, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 219, in cffi_modules
add_cffi_module(dist, cffi_module)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\cffi\setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "src/_cffi_src/build_openssl.py", line 80, in <module>
ffi = build_ffi_for_binding(
File "src\_cffi_src\utils.py", line 54, in build_ffi_for_binding
ffi = build_ffi(
File "src\_cffi_src\utils.py", line 74, in build_ffi
ffi = FFI()
File "C:\Users\H\AppData\Local\Temp\pip-build-env-ryaxd35x\overlay\Lib\site-packages\cffi\api.py", line 48, in __init__
import _cffi_backend as backend
ImportError: DLL load failed while importing _cffi_backend: 找不到指定的程序。
----------------------------------------
ERROR: Command errored out with exit status 1: 'd:\py39_en_x64\python.exe' 'd:\py39_en_x64\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\H\AppData\Local\Temp\tmp5ga7z08l' Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.2.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
大佬,出现这个问题是什么原因呢?