Merge branch 'raspberry' into devel
This commit is contained in:
commit
24d040778a
1 changed files with 26 additions and 2 deletions
|
|
@ -56,6 +56,30 @@ repositories::
|
||||||
$ pip-python3 install Pillow --user
|
$ pip-python3 install Pillow --user
|
||||||
$ export PYTHONPATH=$HOME/.local/lib/python3.3/site-packages:$PYTHONPATH
|
$ export PYTHONPATH=$HOME/.local/lib/python3.3/site-packages:$PYTHONPATH
|
||||||
|
|
||||||
|
Raspbian
|
||||||
|
''''''''
|
||||||
|
Yeah, this was the first thing I tried after getting my new Raspberry Pi hooked
|
||||||
|
up. This doesn't seem like the sort of thing that the Raspberry Pi was built
|
||||||
|
for, as it took nearly an hour just to run the OpenJPEG tests, but still, I
|
||||||
|
couldn't help myself but give it a try :-)
|
||||||
|
Raspbian ships with Python 3.2 and 2.7, so these steps detail working with 2.7.
|
||||||
|
|
||||||
|
Additional required OS packages include::
|
||||||
|
|
||||||
|
* python-pip
|
||||||
|
* python-pkg-resources
|
||||||
|
* python-mock
|
||||||
|
|
||||||
|
You must install contextlib2 via pip, and then you can run at least
|
||||||
|
a minimal number of tests. To attempt to run more of the tests,
|
||||||
|
install the following debs::
|
||||||
|
|
||||||
|
* python-dev
|
||||||
|
* python-matplotlib
|
||||||
|
|
||||||
|
and then install Pillow via pip. The tests take about 20 minutes to run, with
|
||||||
|
one unexpected failure as of the time of writing.
|
||||||
|
|
||||||
Fedora 17
|
Fedora 17
|
||||||
'''''''''
|
'''''''''
|
||||||
Fedora 17 ships with Python 3.2 and 2.7, so these steps detail working with
|
Fedora 17 ships with Python 3.2 and 2.7, so these steps detail working with
|
||||||
|
|
@ -77,8 +101,8 @@ combinations of RPMs / Python packages is installed.
|
||||||
* scikit-image and either Pillow or freeimage
|
* scikit-image and either Pillow or freeimage
|
||||||
* matplotlib and Pillow
|
* matplotlib and Pillow
|
||||||
|
|
||||||
scikit-image is not available in the Fedora 17 default repositories, but
|
scikit-image was not available in the Fedora 17 default repositories, but
|
||||||
it may be installed via pip::
|
it was installable via pip::
|
||||||
|
|
||||||
$ yum install Cython # pip needs this in order to compile scikit-image
|
$ yum install Cython # pip needs this in order to compile scikit-image
|
||||||
$ yum install python-devel # pip needs this in order to compile scikit-image
|
$ yum install python-devel # pip needs this in order to compile scikit-image
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue