I installed pip right away, but that required a few missing python modules which you only get if you build your image yourself. They're built by default, so I'm not sure why they aren't installed right away (just some part of those).
I was a bit in a hurry so I haven't written down which modules I installed.
I'm going to build a new image based on WW31 release tonight, after that I should be able to repeat that and share the list of necessary modules.
So here goes the list of Python packages needed to install pip using standard get-pip.py:
python-numbers_2.7.3-r0.3_core2-32.ipk - just added, I've updated the post. Without this one, pip was always failing with "setuptools must be installed to install from a source distribution" even though setuptools are already there.
+ many modules require these to install
And only after that you'll be able to do this:
root@myed1:~# python get-pip.py
Downloading pip-1.5.6-py2.py3-none-any.whl (1.0MB): 1.0MB downloaded
Downloading setuptools-5.4.2-py2.py3-none-any.whl (528kB): 528kB downloaded
Installing collected packages: pip, setuptools
Successfully installed pip setuptools
root@myed1:~# pip --version
pip 1.5.6 from /usr/lib/python2.7/site-packages (python 2.7)
All in all, I'd really recommend just to install all the modules that are produced by the build right away. That's "batteries included", right? Or at least provide a package repo.
They are in edison-src/build/tmp/deploy/ipk/core2-32 (assuming the default dir layout).
EDIT: By the way - here are all the modules less a couple of huge staticdev ones and python-dbg and python-tests, which are irrelevant.
You can install them by copying to the board and running "opkg install <package file name>". I've tried listing the modules necessary for pip in the order of dependency, so you should be able to install them just one by one.
python-modules.tar.gz 12.1 MB
Hey Guys I installed all the modules but still having this
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
No distributions at all found for pip
Storing debug log for failure in /home/root/.pip/pip.log
seems yocto doesn't support HTTPS?