# Pillow 2.9.0 will not install on Ubuntu 14.04 - Garmin Virb Elite images on hold

**URL:** <https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481>\
**Category:** Contributing and equipment\
**Created:** [May 19, 2016, 10:34pm UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481 "2016-05-19T22:34:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stalfur](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/stalfur/32/68289_2.png) [@Stalfur](https://forum.mapillary.com/u/Stalfur)\
**Post date:** [May 19, 2016, 10:34pm UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/1 "2016-05-19T22:34:06Z")

</div>

I set up a clean box with a Ubuntu 14.04 LTS.  
I’ve installed the Tools from Github but the Pillow version can not be removed via pip - 2.3.0 comes installed and installing 2.9.0 or any other version will fail on this

_Command /usr/bin/python -c “import setuptools, tokenize; **file** =‘/tmp/pip\_build\_root/Pillow/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)( **file** ).read().replace(‘\r\n’, ‘\n’), **file** , ‘exec’))” install --record /tmp/pip-wATHpH-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip\_build\_root/Pillow_  
_Storing debug log for failure in /root/.pip/pip.log_

Trying to run with Pillow 2.3.0 gives me this  
_raceback (most recent call last):_  
_File “geotag\_from\_gpx.py”, line 7, in_   
_import pyexiv2_  
_ImportError: No module named pyexiv2_

So now I’ve got 600 images from my Garmin Virb Elite that I can’t geotag from the GPX file.

---

<div class="post-metadata">

**Author:** ![de\_vries](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@de\_vries](https://forum.mapillary.com/u/de_vries)\
**Post date:** [May 20, 2016, 4:06pm UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/2 "2016-05-20T16:06:56Z")

</div>

I had a similar thing with another script on ubuntu 16.04 and I installed the following packages:

```
exif
exiv2
python-exif
python-pyexiv2

```

I can’t remember all details and I’m not sure if all 4 packages are necessary, but this is what I installed and it works now.

---

<div class="post-metadata">

**Author:** ![peter](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/peter/32/66_2.png) [@peter](https://forum.mapillary.com/u/peter)\
**Post date:** [May 23, 2016, 7:18am UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/3 "2016-05-23T07:18:11Z")

</div>

@Stalfur did you get it to work?

/peter

---

<div class="post-metadata">

**Author:** ![Stalfur](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/stalfur/32/68289_2.png) [@Stalfur](https://forum.mapillary.com/u/Stalfur)\
**Post date:** [May 23, 2016, 8:59am UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/4 "2016-05-23T08:59:16Z")

</div>

@peter I did a re-install to Ubuntu 16 but had a HDD failure - that might have been the original problem. The images and videos sit tight for now.

---

<div class="post-metadata">

**Author:** ![pau](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/pau/32/68209_2.png) [@pau](https://forum.mapillary.com/u/pau)\
**Post date:** [May 23, 2016, 10:25am UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/5 "2016-05-23T10:25:12Z")

</div>

@Stalfur, the problem seems to be that `pyexiv2` was missing. This is most likely not related to PIL or PIL’s version. When you get ubuntu running, could you try installing the packages suggested by @de_vries using `apt-get`?

---

<div class="post-metadata">

**Author:** ![Stalfur](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/stalfur/32/68289_2.png) [@Stalfur](https://forum.mapillary.com/u/Stalfur)\
**Post date:** [May 23, 2016, 11:52am UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/6 "2016-05-23T11:52:30Z")

</div>

@pau Those installs did not get through - crashing on a similar note as pillow

---

<div class="post-metadata">

**Author:** ![pau](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/pau/32/68209_2.png) [@pau](https://forum.mapillary.com/u/pau)\
**Post date:** [May 23, 2016, 12:19pm UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/7 "2016-05-23T12:19:14Z")

</div>

Maybe you tried installing using `pip`? Using `apt-get` should work fine (in theory)

---

<div class="post-metadata">

**Author:** ![Stalfur](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/stalfur/32/68289_2.png) [@Stalfur](https://forum.mapillary.com/u/Stalfur)\
**Post date:** [May 25, 2016, 2:42am UTC](https://forum.mapillary.com/t/pillow-2-9-0-will-not-install-on-ubuntu-14-04-garmin-virb-elite-images-on-hold/481/8 "2016-05-25T02:42:49Z")

</div>

The good news is that most of the images on the Virb Elite ARE geotagged. It was only like the first 10-20 that weren’t due to GPS not kicking in…
