C:\Python27\Scripts>pip install pyopenssl
Collecting pyopenssl
C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\requests\packages\
urllib3\util\ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but
the SNI (Subject Name Indication) extension to TLS is not available on this pla
tform. This may cause the server to present an incorrect TLS certificate, which
can cause validation failures. You can upgrade to a newer version of Python to s
olve this. For more information, see https://urllib3.readthedocs.io/en/latest/se
curity.html#snimissingwarning.
SNIMissingWarning
C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\requests\packages\
urllib3\util\ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is n
ot available. This prevents urllib3 from configuring SSL appropriately and may c
ause certain SSL connections to fail. You can upgrade to a newer version of Pyth
on to solve this. For more information, see https://urllib3.readthedocs.io/en/la
test/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading pyOpenSSL-17.0.0-py2.py3-none-any.whl (51kB)
Exception:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\basecommand.py", l
ine 215, in main
status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\commands\install.p
y", line 324, in run
requirement_set.prepare_files(finder)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\req\req_set.py", l
ine 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\req\req_set.py", l
ine 620, in _prepare_file
session=self.session, hashes=hashes)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\download.py", line
821, in unpack_url
hashes=hashes
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\download.py", line
659, in unpack_http_url
hashes)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\download.py", line
882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\download.py", line
603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\utils\hashes.py",
line 46, in check_against_chunks
for chunk in chunks:
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\download.py", line
571, in written_chunks
for chunk in chunks:
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\utils\ui.py", line
141, in iter
self.next(n)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\progress\_
_init__.py", line 73, in next
self.update()
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\progress\b
ar.py", line 79, in update
self.writeln(line)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\progress\h
elpers.py", line 68, in writeln
print(line, end='', file=self.file)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\colorama\a
nsitowin32.py", line 141, in write
self.write_and_convert(text)
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\colorama\a
nsitowin32.py", line 169, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\colorama\a
nsitowin32.py", line 174, in write_plain_text
self.wrapped.write(text[start:end])
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-15: ordi
nal not in range(128)