Author josephshi@yahoo.com
Recipients christian.heimes, josephshi@yahoo.com
Date 2018-11-27.06:38:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543300721.51.0.788709270274.issue35324@psf.upfronthosting.co.za>
In-reply-to
Content
After upgrade my python from 3.6 to 3.7, one of my program got following error msgs and I suppose it is related to the 'ssl' module:

Traceback (most recent call last):
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connection.py", line 344, in connect
    ssl_context=context)
  File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\util\ssl_.py", line 357, in ssl_wrap_socket
    return context.wrap_socket(sock)
  File "f:\Anaconda3\Lib\ssl.py", line 412, in wrap_socket
    session=session
  File "f:\Anaconda3\Lib\ssl.py", line 853, in _create
    self.do_handshake()
  File "f:\Anaconda3\Lib\ssl.py", line 1117, in do_handshake
    self._sslobj.do_handshake()
FileNotFoundError: [Errno 2] No such file or directory

The background is, the program works all fine under python 3.6.

I actually use the 'requests' lib which use the 'urllib3' inside. I don't know how to fix this so I just report here. I hope some one can help.
History
Date User Action Args
2018-11-27 06:38:41josephshi@yahoo.comsetrecipients: + josephshi@yahoo.com, christian.heimes
2018-11-27 06:38:41josephshi@yahoo.comsetmessageid: <1543300721.51.0.788709270274.issue35324@psf.upfronthosting.co.za>
2018-11-27 06:38:41josephshi@yahoo.comlinkissue35324 messages
2018-11-27 06:38:40josephshi@yahoo.comcreate