最近,由于腐败的迫害,我不得不重新占领沙尔。 这枚炸弹是我们的灰色炸弹之一,有以下错误:
AttributeError: module lib has no attribute X509_V_FLAG_CB_ISSUER_CHECK
导致它轰炸的法典线是:
from apiclient.discovery import build
我尝试了Pip的停机坪和Pip的升级google-api-python-client,但我似乎无法找到关于这一具体错误的任何信息。
Here is an output of the command prompt error:
File "C:AnalyticsPuritan_GoogleAnalyticsGoogle_ConversionsmcfTest.py", line 1, in <module>
from apiclient.discovery import build
File "C:ProgramDataAnaconda3libsite-packagesapiclient\__init__.py", line 3, in <module>
from googleapiclient import channel, discovery, errors, http, mimeparse, model
File "C:ProgramDataAnaconda3libsite-packagesgoogleapiclientdiscovery.py", line 57, in <module>
from googleapiclient import _auth, mimeparse
File "C:ProgramDataAnaconda3libsite-packagesgoogleapiclient\_auth.py", line 34, in <module>
import oauth2client.client
File "C:ProgramDataAnaconda3libsite-packagesoauth2clientclient.py", line 45, in <module>
from oauth2client import crypt
File "C:ProgramDataAnaconda3libsite-packagesoauth2clientcrypt.py", line 45, in <module>
from oauth2client import _openssl_crypt
File "C:ProgramDataAnaconda3libsite-packagesoauth2client\_openssl_crypt.py", line 16, in <module>
from OpenSSL import crypto
File "C:ProgramDataAnaconda3libsite-packagesOpenSSL\__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "C:ProgramDataAnaconda3libsite-packagesOpenSSLcrypto.py", line 1517, in <module>
class X509StoreFlags(object):
File "C:ProgramDataAnaconda3libsite-packagesOpenSSLcrypto.py", line 1537, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module lib has no attribute X509_V_FLAG_CB_ISSUER_CHECK