Problem on installing iw_parse

I am trying to install iw_parse on Arduino Yun board to parse WiFi iwlist scan information. I already installed pip on my Yun board successfully. But I got an issue when installing iw_parse.

root@MyYun:~#  pip install iw_parse
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==6.0.8', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2281, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1991, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/pip-6.0.8-py2.7.egg/pip/__init__.py", line 15, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/site-packages/pip-6.0.8-py2.7.egg/pip/vcs/mercurial.py", line 11, in <module>
    from pip.download import path_to_url
  File "/usr/lib/python2.7/site-packages/pip-6.0.8-py2.7.egg/pip/download.py", line 30, in <module>
    from pip._vendor import requests, six
  File "/usr/lib/python2.7/site-packages/pip-6.0.8-py2.7.egg/pip/_vendor/__init__.py", line 81, in load_module
    raise ImportError("No module named '%s'" % (name,))
ImportError: No module named 'pip._vendor.requests'

Anybody knows what's wrong?

Thanks in advance for your input.

Try:easy_install iw_parse

I also got errors with easy_install iw_parse

root@MyYun:~# easy_install iw_parse
Searching for iw-parse
Reading http://pypi.python.org/simple/iw_parse/
Download error on http://pypi.python.org/simple/iw_parse/: unknown url type: https -- Some packages may not be found!
Reading http://pypi.python.org/simple/iw-parse/
Download error on http://pypi.python.org/simple/iw-parse/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'iw_parse' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for iw-parse
error: Could not find suitable distribution for Requirement.parse('iw-parse')

HTTPS causes the issue. In the end, I download the package and SCP to the flash on board and easy_install that local file. That works for me.

Thanks for the direction, sonnyyu.