几个错误问题记录

**1、 Peer cert cannot be verified or peer cert invalid​** add "sslverify=false" in /etc/yum.conf2、Mysql-python _mysql.c:2642: error: initializer element is not constant _mysql.c:2642: error: (near initialization for ‘_mysql_ResultObject_memberlist.offset’) _mysql.c: In function ‘_mysql_ConnectionObject_getattr’: _mysql.c:2666: error: ‘_mysql_ConnectionObject’ has no member named ‘open’ error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/data/home/alarm/env/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-HgXAQT/MySQL-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kx2cSu-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-HgXAQT/MySQL-python解决: yum install mysql-devel**3、pip error: ImportError: cannot import name HTTPSHandler** yum install openssl openssl-devel -y
已邀请:

要回复问题请先登录注册