我正在尝试在不使用 pip 的情况下在我的 python 3.5 虚拟环境中安装 argon2_cffi。我已经从github下载了这个包。当我尝试安装它时,
python setup.py build 或 install,它失败并出现错误
running install
running bdist_egg
running egg_info
creating src/argon2_cffi.egg-info
writing requirements to src/argon2_cffi.egg-info/requires.txt
writing src/argon2_cffi.egg-info/PKG-INFO
writing dependency_links to src/argon2_cffi.egg-
info/dependency_links.txt
writing top-level names to src/argon2_cffi.egg-info/top_level.txt
writing manifest file 'src/argon2_cffi.egg-info/SOURCES.txt'
reading manifest file 'src/argon2_cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'src/argon2/_ffi.py'
warning: no previously-included files found matching '.gitmodules'
warning: no previously-included files found matching 'extras/libargon2/.git'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
no previously-included directories found matching 'docs/_build'
writing manifest file 'src/argon2_cffi.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running build_clib
building 'libargon2' library
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-
prototypes -g -fstack-protector-strong -Wformat -Werror=format-
security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -msse2 -
Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c
extras/libargon2/src/argon2.c -o build/temp.linux-x86_64-
3.5/extras/libargon2/src/argon2.o
x86_64-linux-gnu-gcc: error: extras/libargon2/src/argon2.c: No such
file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1