更新于:
精简版的ubuntu20,编译安装的python3.9.5,在安装pycrypto遇到error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
# 根据python版本进行安装
apt install python3.9-dev
apt-get install build-essential python3-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev
pip insatll pycrypto
111
转载请注明:【install pycrypto error: command 'x86_64-linux-gnu-gcc' failed with exit status 1】https://jihuo.ma/pycrypto-x64-x86-linux-gnu-gcc.html