[New-bugs-announce] [issue31124] ImportError: cannot import name HAS_ALPN

José Leite report at bugs.python.org
Sat Aug 5 09:41:21 EDT 2017


New submission from José Leite:

When Running Web2py with Python 2.7.11 or 2.7.13 in windows 10 I get the following error:

Traceback (most recent call last):
File "C:\web2py\web2py.py", line 21, in 
import gluon.widget
File "C:\web2py\gluon\widget.py", line 26, in 
from gluon import main, newcron
File "C:\web2py\gluon\main.py", line 28, in 
import ssl
File "C:\Python27\lib\ssl.py", line 126, in 
from _ssl import HAS_SNI, HAS_ECDH, HAS_NPN, HAS_ALPN
ImportError: cannot import name HAS_ALPN

----------------------------------------------------
It seem like a windows Python bug in _ssl.py

----------
assignee: christian.heimes
components: SSL, Windows
messages: 299781
nosy: Jhleite, christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: ImportError: cannot import name HAS_ALPN
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31124>
_______________________________________


More information about the New-bugs-announce mailing list