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.
I'll ask for distutils. It's a pain not to have pip.
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.
Hi AlexT, I was hoping you could include ftdi_sio in a future build as well. I remember using your repo for Galileo (which had ftdi_sio), and it was very helpful. Or, is there some way I could get access to kernel headers to compile it myself?
Replied in your new thread you've created.
Where are these ipk packages located?
(I have ftdi_sio working now from building the source, thanks)
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
James, can you share how you compiled ftdi_sio from source? I get missing headers (linux/init.h, etc.). Thanks!
Latest software image now supports distutils
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?
Is the latest software support HTTPS?
So, nearly a month later, still no pip install on Edison?
pip is working now, the biggest issue for us right now is scipy, always have some problem during compiling, do you have any idea or has anyone done this before?