我的python版本是python2.7.6 系统是ubuntu 14.04.1
进入交互式写入import ssl是不会报错的.
但是执行py文件就报一下错误了
File "/root/py/ssl.py", line 4, in
'SSLv2':ssl.PROTOCOL_SSLv2,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv2'
所有包含有 import ssl模块的文件都报这错误,望解答!
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证0级讲师