使用python请求包时出现警告消息

使用python请求包时出现警告消息,python,python-requests,Python,Python Requests,我在python脚本中引用了python请求(v2.9.1)。我收到了一条警告 输出控制台中的消息,如下所示 C:\Python34\lib\site-packages\ndg_httpsclient-0.4.0-py3.4.egg\ndg\httpsclient\subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be d

我在python脚本中引用了python请求(v2.9.1)。我收到了一条警告

输出控制台中的消息,如下所示

C:\Python34\lib\site-packages\ndg_httpsclient-0.4.0-py3.4.egg\ndg\httpsclient\subj_alt_name.py:22: 
  UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named 'pyasn1'
  warnings.warn(import_error_msg)
C:\Python34\lib\site-packages\ndg_httpsclient-0.4.0-py3.4.egg\ndg\httpsclient\ssl_peer_verification.py:25: 
  UserWarning: SubjectAltName support is disabled - check pyasn1 package installation to enable
  warnings.warn(SUBJ_ALT_NAME_SUPPORT_MSG)
C:\Python34\lib\site-packages\ndg_httpsclient-0.4.0-py3.4.egg\ndg\httpsclient\subj_alt_name.py:22: 
  UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named 'pyasn1'
  warnings.warn(import_error_msg)
我有一个类似的脚本,我一年前写的,它也使用相同的请求模块,没有这个问题。 任何人在使用请求模块时都会遇到同样的问题吗? 是因为请求包依赖于其他包吗

提前谢谢
Susmitha

警告说未安装
pyasn1
。这是你的问题吗?嗨,Brendan Abel,谢谢你的回答。我安装了“pyasn1_模块-0.0.8-py3.4”,但仍然得到了相同的结果警告说,
pyasn1
没有安装。这是你的问题吗?嗨,Brendan Abel,谢谢你的回答。我安装了“pyasn1_模块-0.0.8-py3.4”,现在仍然得到同样的结果