安装错误
junelee220 opened this issue · comments
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-i686-2.7/_openssl.c -o build/temp.linux-i686-2.7/build/temp.linux-i686-2.7/_openssl.o
build/temp.linux-i686-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of cryptography
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-UBvdZC/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-4pTENM-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-UBvdZC/cryptography/
sudo apt-get install libssl-dev
@hcm82 多谢,我想知道你是怎么从log中知道要安装这个包的?