我在运行python脚本时收到错误消息。以下是错误消息。感谢帮助解决问题。
当我导入" six.moves.http_client导入HTTPConnection"它工作,问题是我导入HTTPSConnection
>>> from six.moves.http_client import HTTPSConnection
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'HTTPSConnection'
>>> from six.moves.http_client import HTTPSConnection
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'HTTPSConnection'