Ubuntu下pip安装PyOpenSSL报错distutils.errors.DistutilsError: Setup script exited with error: command ‘gcc’ failed with exit status 1

Ubuntu下pip安装PyOpenSSL报错distutils.errors.DistutilsError: Setup script exited with error: command ‘gcc’ failed with exit status 1

Ubuntu下pip安装PyOpenSSL报错distutils.errors.DistutilsError: Setup script exited with error: command ‘gcc’ failed with exit status 1

可能是因为缺少这个库libffi-dev

apt-get install libffi-dev

顺利安装PyOpenSSL

发表评论

电子邮件地址不会被公开。 必填项已用*标注