swstephe / py2jdbc

Python JDBC Connector
MIT No Attribution
11 stars 0 forks source link

Use a Windows alternative to signals on Windows. #3

Closed swstephe closed 5 years ago

swstephe commented 5 years ago

Traceback (most recent call last): File "test.py", line 3, in import py2jdbc File "C:\Users\robert\AppData\Local\Programs\Python\Python37\lib\site-packages\py2jdbc__init__.py", line 2, in from py2jdbc.dbi import ( File "C:\Users\robert\AppData\Local\Programs\Python\Python37\lib\site-packages\py2jdbc\dbi.py", line 6, in from py2jdbc.wrap import get_env File "C:\Users\robert\AppData\Local\Programs\Python\Python37\lib\site-packages\py2jdbc\wrap.py", line 4, in import py2jdbc.jni File "C:\Users\robert\AppData\Local\Programs\Python\Python37\lib\site-packages\py2jdbc\jni.py", line 2765, in signal.signal(signal.SIGHUP, signal_handler) AttributeError: module 'signal' has no attribute 'SIGHUP'