<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    hi: <br>
    <div class="moz-forward-container">    I cross compiled python2.7.10
      and install python on my embedded device. But now, I may install
      pip on my embedded device. <br>
         So, I did it as follow:<br>
             1>I execute cmd:<font color="#cc0000">python -m
        ensurepip</font>. It ocuurs errors as follow:<br>
                 Traceback (most recent call last):<br>
                  File "/usr/lib/python/lib/python27.zip/runpy.py", line
      162, in _run_module_as_main<br>
                  File "/usr/lib/python/lib/python27.zip/runpy.py", line
      72, in _run_code<br>
                  File
      "/var/app/python/libs/ensurepip.zip/ensurepip/__main__.py", line
      4, in <module><br>
                  File
      "/var/app/python/libs/ensurepip.zip/ensurepip/__init__.py", line
      226, in _main<br>
                  File
      "/var/app/python/libs/ensurepip.zip/ensurepip/__init__.py", line
      123, in bootstrap<br>
                  File
      "/var/app/python/libs/ensurepip.zip/ensurepip/__init__.py", line
      45, in _run_pip<br>
                  File
      "/tmp/tmprHZPx4/pip-6.1.1-py2.py3-none-any.whl/pip/__init__.py",
      line 15, in <module><br>
                  File
      "/tmp/tmprHZPx4/pip-6.1.1-py2.py3-none-any.whl/pip/vcs/subversion.py",
      line 9, in <module><br>
                  File
      "/tmp/tmprHZPx4/pip-6.1.1-py2.py3-none-any.whl/pip/index.py", line
      30, in <module><br>
                  File
      "/tmp/tmprHZPx4/pip-6.1.1-py2.py3-none-any.whl/pip/_vendor/__init__.py",
      line 92, in load_module<br>
                  ImportError: No module named 'pip._vendor.html5lib'<br>
                  <font color="#ff0000">The message
        "/tmp/tmprHZPx4/pip-6.1.1-py2.py3-none-any.whl" point out the
        pip package in that dir, while it is not there.</font><br>
             2>As a result of the above error message, I download the
      pip-7.1.2 package and install it on my embedded device. It ocuurs
      errors as follow:<br>
                 # python setup.py install<br>
                     Traceback (most recent call last):<br>
                      File "setup.py", line 6, in <module><br>
                      from setuptools import setup, find_packages<br>
                      ImportError: No module named setuptools<br>
                 # <br>
             3> I I download the setuptools package and  execute cmd:
      python setup.py install.It ocuurs errors as follow:<br>
                 # python setup.py install<br>
                  Traceback (most recent call last):<br>
                   File "setup.py", line 6, in <module><br>
                   from setuptools import setup, find_packages<br>
                   File
      "/var/app/python/libs/setuptools.zip/setuptools/__init__.py", line
      12, in <module><br>
                   File
      "/var/app/python/libs/setuptools.zip/setuptools/extension.py",
      line 8, in <module><br>
                   File
      "/var/app/python/libs/setuptools.zip/setuptools/dist.py", line 19,
      in <module><br>
                   ImportError: No module named pkg_resources<br>
            So, where can i download the pkg_resources package. Is there
      somebody installed pip on embedded device? can you tell me how to
      do that? <br>
    </div>
    <br>
  </body>
</html>