[Octolapse] Can't install it, no idea why :)

Thanks tedder,

not sure what you mean by ā€rerunning pip.ā€ but I did the apt-get install python-pil (with sudo in front, because otherwise it wouldā€™t let me) and then I tried getting the Octolapse zip via the plugin manager again.

This is the response I got:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lmscHG/Pillow/
**Error!**
**Could not parse output from pip, see plugin_pluginmanager_console.log for generated output**

If you want the .log file, let me know.

Yeah, need the logs.

Sorry it took me a while to find this, but I think I have seen this issue before here: https://github.com/FormerLurker/Octolapse/issues/107

The problem is due to low memory/space on the pi, but can be fixed by manually installing pillow from the command line with this command:

pi@octopi:~/oprint/local/bin $ ./pip --no-cache-dir install pillow

Let me know if you need help running the command. Hopefully I find a more elegant way to deal with this soon.

It's really weird, but without doing anything to try and fix this, I tried installing via the plugin manager once more (because I wasn't sure if the log had changed since my last attempt, and I wanted Tedder to have a log where the actual errors appeared) and it just installed, without any problems except for a friendly reminder to update pip. Which I now can't get to update via the suggested "pip install --upgrade pip" command in Kitty.

Sigh...

Octolapse is running though, so I guess I'll stop poking the bear unless one of you fine chaps think it would help you figure something out that I, as a mere mortal, have no idea about. :wink:

plugin_pluginmanager_console (2).log (23.3 KB)

1 Like

My guess is that you had more system resources available on this attempt, so it just worked. I have heard through the grapevine that there are some memory leak issues with tornado, so perhaps you really did run out of memory?

I just looked through your log, and Pillow installed here:

2018-04-17 19:49:09,049 > Installing collected packages: Pillow, Octolapse
2018-04-17 19:49:09,050 > Running setup.py install for Pillow: started
2018-04-17 19:49:45,511 > Running setup.py install for Pillow: finished with status 'done'

It looks like everything worked fine that time! Let me know if you have other issues.

If you could perhaps explain what Iā€™m doing wrong when I try to update the pip thing, thatā€™d be awesome!

Other than that, I have ā€“ so far ā€“ not encountered any other issues :blush:
I even made my first timelapse, and it was beautiful, so Iā€™m totally in love with your plugin :smiley:

1 Like

This should work, but it looks like you tried this:

pip install --upgrade pip

If it fails when you try, paste the console output here please.

Sure...

-bash: pip: command not found

Jeesh, shows you I am working in my dev environment too much. Try this:

source ~/oprint/bin/activate
pip install --upgrade pip

That worked like a charm!

As a complete and utter n00b, I have no idea what magic you just had me do, but Iā€™m guessing it has something to do
with that source ~/oprint/bin/activate line. Is that like the old CD command for selecting a directory in Unix? Do I
have to do that line prior to all commands like the upgrade pip one?

Thanks for all your assistance :blush:

1 Like

@Shuffla Um... activating the virtual environment is like this guy...

JakeSully

...jumping into this...

JakeSully-Device

...and becoming this...

JakeSully-Blue

You just needed to upgrade pip for the blue guy instead of the white guy.

3 Likes

I'm having a similar issue installing OctoLapse. I can't seem to get Pillow to install from Putty command window nor Plugin manager. The log contains too much text to paste. I have no idea what the most important log entries would be to help.

Installing plugin "Octolapse" from https://github.com/FormerLurker/Octolapse/archive/master.zip...
/home/pi/oprint/bin/python -m pip install https://github.com/FormerLurker/Octolapse/archive/master.zip --no-cache-dir
Collecting https://github.com/FormerLurker/Octolapse/archive/master.zip
Downloading https://github.com/FormerLurker/Octolapse/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==v0.3.1) (1.3.9)
Collecting Pillow (from Octolapse==v0.3.1)
Downloading https://files.pythonhosted.org/packages/d3/c4/b45b9c0d549f482dd072055e2d3ced88f3b977f7b87c7a990228b20e7da1/Pillow-5.2.0.tar.gz (14.5MB)
Requirement already satisfied: sarge in /home/pi/oprint/lib/python2.7/site-packages/sarge-0.1.4-py2.7.egg (from Octolapse==v0.3.1) (0.1.4)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages/six-1.10.0-py2.7.egg (from Octolapse==v0.3.1) (1.10.0)
Requirement already satisfied: flask<0.11,>=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.10.1)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (2.8.1)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.8.3)
Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (4.5.3)
Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-armv7l.egg (from OctoPrint->Octolapse==v0.3.1) (3.10)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Login-0.2.11-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.2.11)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.3.5)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Babel-0.9-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.9)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Assets-0.10-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.10)
Requirement already satisfied: markdown<2.7,>=2.6.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (2.6.11)
Requirement already satisfied: pyserial<3.5,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (3.4)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.7.19)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.8.3)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in /home/pi/oprint/lib/python2.7/site-packages/netifaces-0.10.6-py2.7-linux-armv7l.egg (from OctoPrint->Octolapse==v0.3.1) (0.10.6)
Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages/pylru-1.0.9-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (1.0.9)
Requirement already satisfied: rsa<3.3,>=3.2.3 in /home/pi/oprint/lib/python2.7/site-packages/rsa-3.2.3-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (3.2.3)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (1.4.2)
Requirement already satisfied: requests<3,>=2.18.4 in /home/pi/oprint/lib/python2.7/site-packages/requests-2.18.4-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (2.18.4)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages/semantic_version-2.4.2-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (2.4.2)
Requirement already satisfied: psutil<5.5,>=5.4.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (5.4.6)
Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages/click-6.2-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (6.2)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (1.6.5)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (5.2.1)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/chainmap-1.0.2-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (1.0.2)
Requirement already satisfied: future<0.16,>=0.15.2 in /home/pi/oprint/lib/python2.7/site-packages/future-0.15.2-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.15.2)
Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages/scandir-1.3-py2.7-linux-armv7l.egg (from OctoPrint->Octolapse==v0.3.1) (1.3)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in /home/pi/oprint/lib/python2.7/site-packages/websocket_client-0.40.0-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.40.0)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (2.6.1)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in /home/pi/oprint/lib/python2.7/site-packages/wrapt-1.10.11-py2.7-linux-armv7l.egg (from OctoPrint->Octolapse==v0.3.1) (1.10.11)
Requirement already satisfied: futures<3.2,>=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages/futures-3.1.1-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (3.1.1)
Requirement already satisfied: emoji<0.5,>=0.4.5 in /home/pi/oprint/lib/python2.7/site-packages/emoji-0.4.5-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (0.4.5)
Requirement already satisfied: monotonic<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages/monotonic-1.3-py2.7.egg (from OctoPrint->Octolapse==v0.3.1) (1.3)
Requirement already satisfied: frozendict<1.3,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->Octolapse==v0.3.1) (1.2)
Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg (from flask<0.11,>=0.10.1->OctoPrint->Octolapse==v0.3.1) (0.24)
Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages/MarkupSafe-1.0-py2.7-linux-armv7l.egg (from Jinja2<2.9,>=2.8.1->OctoPrint->Octolapse==v0.3.1) (1.0)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Octolapse==v0.3.1) (3.4.0.3)
Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages/certifi-2017.04.17-py2.7.egg (from tornado==4.5.3->OctoPrint->Octolapse==v0.3.1) (2017.4.17)
Requirement already satisfied: backports_abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Octolapse==v0.3.1) (0.5)
Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages/blinker-1.4-py2.7.egg (from Flask-Principal<0.4,>=0.3.5->OctoPrint->Octolapse==v0.3.1) (1.4)
Requirement already satisfied: Babel>=1.0 in /home/pi/oprint/lib/python2.7/site-packages/Babel-2.4.0-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->Octolapse==v0.3.1) (2.4.0)
Requirement already satisfied: speaklater>=1.2 in /home/pi/oprint/lib/python2.7/site-packages/speaklater-1.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->Octolapse==v0.3.1) (1.3)
Requirement already satisfied: webassets>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/webassets-0.12.1-py2.7.egg (from Flask-Assets<0.11,>=0.10->OctoPrint->Octolapse==v0.3.1) (0.12.1)
Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages/argh-0.26.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->Octolapse==v0.3.1) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->Octolapse==v0.3.1) (0.1.2)
Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages/pyasn1-0.2.3-py2.7.egg (from rsa<3.3,>=3.2.3->OctoPrint->Octolapse==v0.3.1) (0.2.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Octolapse==v0.3.1) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in /home/pi/oprint/lib/python2.7/site-packages/idna-2.6-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Octolapse==v0.3.1) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages/urllib3-1.22-py2.7.egg (from requests<3,>=2.18.4->OctoPrint->Octolapse==v0.3.1) (1.22)
Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages/regex-2017.06.23-py2.7-linux-armv7l.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Octolapse==v0.3.1) (2017.6.23)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages/Unidecode-0.04.20-py2.7.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Octolapse==v0.3.1) (0.4.20)
Requirement already satisfied: backports.ssl_match_hostname in /home/pi/oprint/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg (from websocket-client<0.41,>=0.40.0->OctoPrint->Octolapse==v0.3.1) (3.5.0.1)
Requirement already satisfied: pytz>=0a in /home/pi/oprint/lib/python2.7/site-packages/pytz-2017.2-py2.7.egg (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->Octolapse==v0.3.1) (2017.2)
Installing collected packages: Pillow, Octolapse
Running setup.py install for Pillow: started
Running setup.py install for Pillow: finished with status 'error'
Complete output from command /home/pi/oprint/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qnvAde/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-nlSyl9/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/Pillow:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/OleFileIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
building 'PIL._imaging' extension
creating build/temp.linux-armv7l-2.7/src
creating build/temp.linux-armv7l-2.7/src/libImaging
Building using 4 processes
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/_imaging.c -o build/temp.linux-armv7l-2.7/src/_imaging.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/outline.c -o build/temp.linux-armv7l-2.7/src/outline.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Bands.c -o build/temp.linux-armv7l-2.7/src/libImaging/Bands.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/ColorLUT.c -o build/temp.linux-armv7l-2.7/src/libImaging/ColorLUT.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/path.c -o build/temp.linux-armv7l-2.7/src/path.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/BcnDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/BcnDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Convert.c -o build/temp.linux-armv7l-2.7/src/libImaging/Convert.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Access.c -o build/temp.linux-armv7l-2.7/src/libImaging/Access.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/AlphaComposite.c -o build/temp.linux-armv7l-2.7/src/libImaging/AlphaComposite.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Resample.c -o build/temp.linux-armv7l-2.7/src/libImaging/Resample.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/BitDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/BitDecode.o
src/libImaging/Resample.c: In function ā€˜ImagingResampleVertical_8bpcā€™:
src/libImaging/Resample.c:687:1: internal compiler error: Segmentation fault
}

Continuing from the last reply:

Then the log contained:

Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Blend.c -o build/temp.linux-armv7l-2.7/src/libImaging/Blend.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Chops.c -o build/temp.linux-armv7l-2.7/src/libImaging/Chops.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/ConvertYCbCr.c -o build/temp.linux-armv7l-2.7/src/libImaging/ConvertYCbCr.o
The bug is not reproducible, so it is likely a hardware or OS problem.

Followed by a bunch of lines like:

arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Dib.c -o build/temp.linux-armv7l-2.7/src/libImaging/Dib.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/decode.c -o build/temp.linux-armv7l-2.7/src/decode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Fill.c -o build/temp.linux-armv7l-2.7/src/libImaging/Fill.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.2.0" -I/tmp/pip-install-qnvAde/Pillow/src/libImaging -I/usr/include/freetype2 -I/usr/lib/arm-linux-gnueabihf -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -I/usr/include/arm-linux-gnueabihf -c src/libImaging/Draw.c -o build/temp.linux-armv7l-2.7/src/libImaging/Draw.o

and then at the bottom:

arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/_imaging.o build/temp.linux-armv7l-2.7/src/decode.o build/temp.linux-armv7l-2.7/src/encode.o build/temp.linux-armv7l-2.7/src/map.o build/temp.linux-armv7l-2.7/src/display.o build/temp.linux-armv7l-2.7/src/outline.o build/temp.linux-armv7l-2.7/src/path.o build/temp.linux-armv7l-2.7/src/libImaging/Access.o build/temp.linux-armv7l-2.7/src/libImaging/AlphaComposite.o build/temp.linux-armv7l-2.7/src/libImaging/Resample.o build/temp.linux-armv7l-2.7/src/libImaging/Bands.o build/temp.linux-armv7l-2.7/src/libImaging/BcnDecode.o build/temp.linux-armv7l-2.7/src/libImaging/BitDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Blend.o build/temp.linux-armv7l-2.7/src/libImaging/Chops.o build/temp.linux-armv7l-2.7/src/libImaging/ColorLUT.o build/temp.linux-armv7l-2.7/src/libImaging/Convert.o build/temp.linux-armv7l-2.7/src/libImaging/ConvertYCbCr.o build/temp.linux-armv7l-2.7/src/libImaging/Copy.o build/temp.linux-armv7l-2.7/src/libImaging/Crop.o build/temp.linux-armv7l-2.7/src/libImaging/Dib.o build/temp.linux-armv7l-2.7/src/libImaging/Draw.o build/temp.linux-armv7l-2.7/src/libImaging/Effects.o build/temp.linux-armv7l-2.7/src/libImaging/EpsEncode.o build/temp.linux-armv7l-2.7/src/libImaging/File.o build/temp.linux-armv7l-2.7/src/libImaging/Fill.o build/temp.linux-armv7l-2.7/src/libImaging/Filter.o build/temp.linux-armv7l-2.7/src/libImaging/FliDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Geometry.o build/temp.linux-armv7l-2.7/src/libImaging/GetBBox.o build/temp.linux-armv7l-2.7/src/libImaging/GifDecode.o build/temp.linux-armv7l-2.7/src/libImaging/GifEncode.o build/temp.linux-armv7l-2.7/src/libImaging/HexDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Histo.o build/temp.linux-armv7l-2.7/src/libImaging/JpegDecode.o build/temp.linux-armv7l-2.7/src/libImaging/JpegEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Matrix.o build/temp.linux-armv7l-2.7/src/libImaging/ModeFilter.o build/temp.linux-armv7l-2.7/src/libImaging/Negative.o build/temp.linux-armv7l-2.7/src/libImaging/Offset.o build/temp.linux-armv7l-2.7/src/libImaging/Pack.o build/temp.linux-armv7l-2.7/src/libImaging/PackDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Palette.o build/temp.linux-armv7l-2.7/src/libImaging/Paste.o build/temp.linux-armv7l-2.7/src/libImaging/Quant.o build/temp.linux-armv7l-2.7/src/libImaging/QuantOctree.o build/temp.linux-armv7l-2.7/src/libImaging/QuantHash.o build/temp.linux-armv7l-2.7/src/libImaging/QuantHeap.o build/temp.linux-armv7l-2.7/src/libImaging/PcdDecode.o build/temp.linux-armv7l-2.7/src/libImaging/PcxDecode.o build/temp.linux-armv7l-2.7/src/libImaging/PcxEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Point.o build/temp.linux-armv7l-2.7/src/libImaging/RankFilter.o build/temp.linux-armv7l-2.7/src/libImaging/RawDecode.o build/temp.linux-armv7l-2.7/src/libImaging/RawEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Storage.o build/temp.linux-armv7l-2.7/src/libImaging/SgiRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/SunRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Unpack.o build/temp.linux-armv7l-2.7/src/libImaging/UnpackYCC.o build/temp.linux-armv7l-2.7/src/libImaging/UnsharpMask.o build/temp.linux-armv7l-2.7/src/libImaging/XbmDecode.o build/temp.linux-armv7l-2.7/src/libImaging/XbmEncode.o build/temp.linux-armv7l-2.7/src/libImaging/ZipDecode.o build/temp.linux-armv7l-2.7/src/libImaging/ZipEncode.o build/temp.linux-armv7l-2.7/src/libImaging/TiffDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KEncode.o build/temp.linux-armv7l-2.7/src/libImaging/BoxBlur.o build/temp.linux-armv7l-2.7/src/libImaging/QuantPngQuant.o build/temp.linux-armv7l-2.7/src/libImaging/codec_fd.o -L/tmp/pip-install-qnvAde/Pillow -L/home/pi/oprint/lib -L/usr/local/lib -L/usr/lib/arm-linux-gnueabihf -ljpeg -lz -o build/lib.linux-armv7l-2.7/PIL/_imaging.so
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/Resample.o: No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Command "/home/pi/oprint/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qnvAde/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-nlSyl9/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/Pillow" failed with error code 1 in /tmp/pip-install-qnvAde/Pillow/
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

Thanks for any help. I'm a Linux noob so I don't really speak all that "sudo" "pip", etc stuff yet.

@aolshove, did you get it working?

No, I just kind of gave up.

@aolshove,

Have you upgraded pip? If not, try that first like so:

source ~/oprint/bin/activate
pip install --upgrade pip

Then try to install Octolapse again through the plugin manager. Let me know how it goes.

Hi, yes, I did upgrade PIP already. That was successful. Sorry I didn't mention it in the initial response.

That's the only thing I did other than trying various methods of uninstalling/installing Pillow which was not successful. I'm on the latest stable release of OctoPrint. Other Plugins I have installed:

Action Command Prompt Support
Announcement Plugin
Core Wizard
CuraEngine (<= 15.04)
Discovery
Emergency Stop Button (0.1.2)
Fullscreen Plugin (0.0.4)
Logging
OctoPi Support Plugin
Plugin Manager
Printer Safety Check
Software Update
TouchUI (0.3.11)
Virtual Printer

@aolshove,

Can you try going to the following directory:
~/oprint/local/bin
then running the following command:
./pip --no-cache-dir install pillow
If you have errors (I'm guessing you probably will, fyi) perhaps you can upload the entire log to gist.github.com or something similar and post a link?

im getting the same problem,
im getting:

Installing plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip.../home/pi/oprint/bin/python2 -m pip install https://github.com/FormerLurker/Octolapse/archive/master.zip --no-cache-dir
Collecting https://github.com/FormerLurker/Octolapse/archive/master.zip
Downloading https://github.com/FormerLurker/Octolapse/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Collecting Pillow (from Octolapse==0.3.1)
Downloading https://files.pythonhosted.org/packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz (15.6MB)
Requirement already satisfied: sarge in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Requirement already satisfied: flask&lt;0.11,&gt;=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Jinja2&lt;2.9,&gt;=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: werkzeug&lt;0.9,&gt;=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: PyYAML&lt;3.11,&gt;=3.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Login&lt;0.3,&gt;=0.2.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Principal&lt;0.4,&gt;=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Babel&lt;0.10,&gt;=0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Assets&lt;0.11,&gt;=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: markdown&lt;2.7,&gt;=2.6.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pyserial&lt;3.5,&gt;=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: netaddr&lt;0.8,&gt;=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: watchdog&lt;0.9,&gt;=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: netifaces&lt;0.11,&gt;=0.10.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pylru&lt;1.1,&gt;=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: rsa&lt;3.3,&gt;=3.2.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pkginfo&lt;1.5,&gt;=1.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: requests&lt;3,&gt;=2.18.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: semantic_version&lt;2.5,&gt;=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: psutil&lt;5.5,&gt;=5.4.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Click&lt;6.3,&gt;=6.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: awesome-slugify&lt;1.7,&gt;=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: feedparser&lt;5.3,&gt;=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: chainmap&lt;1.1,&gt;=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: future&lt;0.16,&gt;=0.15.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: scandir&lt;1.4,&gt;=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: websocket-client&lt;0.41,&gt;=0.40.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: python-dateutil&lt;2.7,&gt;=2.6.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: wrapt&lt;1.11,&gt;=1.10.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: futures&lt;3.2,&gt;=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: emoji&lt;0.5,&gt;=0.4.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: monotonic&lt;1.4,&gt;=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: frozendict&lt;1.3,&gt;=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: itsdangerous&gt;=0.21 in /home/pi/oprint/lib/python2.7/site-packages (from flask&lt;0.11,&gt;=0.10.1-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages (from Jinja2&lt;2.9,&gt;=2.8.1-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: backports-abc&gt;=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Principal&lt;0.4,&gt;=0.3.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Babel&gt;=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: speaklater&gt;=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: webassets&gt;=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets&lt;0.11,&gt;=0.10-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: argh&gt;=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog&lt;0.9,&gt;=0.8.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pathtools&gt;=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog&lt;0.9,&gt;=0.8.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pyasn1&gt;=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa&lt;3.3,&gt;=3.2.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: urllib3&lt;1.23,&gt;=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: idna&lt;2.7,&gt;=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: chardet&lt;3.1.0,&gt;=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Unidecode&lt;0.05,&gt;=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify&lt;1.7,&gt;=1.6.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify&lt;1.7,&gt;=1.6.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pytz&gt;=0a in /home/pi/oprint/lib/python2.7/site-packages (from Babel&gt;=1.0-&gt;Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Installing collected packages: Pillow, Octolapse
Running setup.py install for Pillow: started
Error! Could not install plugin, unknown error, please consult octoprint.log for details"