
F:\Temp>cd testssl

F:\Temp\TESTSSL>scripts\activate

(TESTSSL) F:\Temp\TESTSSL>python -V
Python 3.6.7

(TESTSSL) F:\Temp\TESTSSL>pip list
Package       Version
------------- ----------
asn1crypto    0.24.0
certifi       2018.11.29
cffi          1.11.5
chardet       3.0.4
cryptography  2.4.2
idna          2.6
ntlm-auth     1.2.0
pip           18.1
pycparser     2.19
requests      2.20.1
requests-ntlm 1.1.0
setuptools    40.6.2
six           1.12.0
urllib3       1.22
wheel         0.32.3

(TESTSSL) F:\Temp\TESTSSL>testssl2.py
200

(TESTSSL) F:\Temp\TESTSSL>deactivate
F:\Temp\TESTSSL>cd ..\testssl2

F:\Temp\TESTSSL2>scripts\activate

(TESTSSL2) F:\Temp\TESTSSL2>python -V
Python 3.7.1

(TESTSSL2) F:\Temp\TESTSSL2>pip list
Package       Version
------------- ----------
asn1crypto    0.24.0
certifi       2018.11.29
cffi          1.11.5
chardet       3.0.4
cryptography  2.4.2
idna          2.7
ntlm-auth     1.2.0
pip           18.1
pycparser     2.19
requests      2.20.1
requests-ntlm 1.1.0
setuptools    40.6.2
six           1.12.0
urllib3       1.24.1
wheel         0.32.3

(TESTSSL2) F:\Temp\TESTSSL2>testssl2.py
Traceback (most recent call last):
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connection.py", line 344, in connect
    ssl_context=context)
  File "F:\Temp\TESTSSL2\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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\Temp\TESTSSL2\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\util\retry.py", line 367, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\packages\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "F:\Temp\TESTSSL2\lib\site-packages\urllib3\connection.py", line 344, in connect
    ssl_context=context)
  File "F:\Temp\TESTSSL2\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()
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\Temp\TESTSSL2\testssl2.py", line 39, in <module>
    r = s.get(url,auth=HttpNtlmAuth(username,password),verify=False)
  File "F:\Temp\TESTSSL2\lib\site-packages\requests\sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "F:\Temp\TESTSSL2\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "F:\Temp\TESTSSL2\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "F:\Temp\TESTSSL2\lib\site-packages\requests\adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

(TESTSSL2) F:\Temp\TESTSSL2>