This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Go the error code 1 blues. Cannot install python libraries
#1
Hi,
I am running tinkerOS debian on a tinkerboard s. I Cannot install common libraries such as matplotlib - always get a similar error: "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-c45kilc3/matplotlib/" There is lots of discussion of this type of error on various forums but none of the solutions (upgrade setuptools for e.g.) seem to work for me. If anyone know the trick I would be overjoyed  to hear it... see below for full error message.
python is version 3.5.3



Code:
"linaro@tinkerboard:~$ sudo pip3 install matplotlib
[/color]
[color=#339966]Collecting matplotlib[/color]
[color=#339966]  Using cached [[i]snip [size=x-small]cannot post clickable links [/size][/i]] [color=#0072bc]files.pythonhosted.org/packages/...0.3.tar.gz[/color][/color]
[color=#339966]    Complete output from command python setup.py egg_info:[/color]
[color=#339966]    WARNING: The wheel package is not available.[/color]
[color=#339966]    ERROR: Failed to build one or more wheels[/color]
[color=#339966]    Traceback (most recent call last):[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 128, in fetch_build_egg[/color]
[color=#339966]        subprocess.check_call(cmd)[/color]
[color=#339966]      File "/usr/lib/python3.5/subprocess.py", line 271, in check_call[/color]
[color=#339966]        raise CalledProcessError(retcode, cmd)[/color]
[color=#339966]    subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp2k1ig2oa', '--quiet', 'numpy>=1.10.0']' returned non-zero exit status 1[/color]
[color=#339966]    [/color]
[color=#339966]    The above exception was the direct cause of the following exception:[/color]
[color=#339966]    [/color]
[color=#339966]    Traceback (most recent call last):[/color]
[color=#339966]      File "<string>", line 1, in <module>[/color]
[color=#339966]      File "/tmp/pip-build-c45kilc3/matplotlib/setup.py", line 297, in <module>[/color]
[color=#339966]        cmdclass=cmdclass,[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 162, in setup[/color]
[color=#339966]        _install_setup_requires(attrs)[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 157, in _install_setup_requires[/color]
[color=#339966]        dist.fetch_build_eggs(dist.setup_requires)[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 702, in fetch_build_eggs[/color]
[color=#339966]        replace_conflicting=True,[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 781, in resolve[/color]
[color=#339966]        replace_conflicting=replace_conflicting[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1064, in best_match[/color]
[color=#339966]        return self.obtain(req, installer)[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1076, in obtain[/color]
[color=#339966]        return installer(requirement)[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 758, in fetch_build_egg[/color]
[color=#339966]        return fetch_build_egg(self, req)[/color]
[color=#339966]      File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 130, in fetch_build_egg[/color]
[color=#339966]        raise DistutilsError(str(e)) from e[/color]
[color=#339966]    distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp2k1ig2oa', '--quiet', 'numpy>=1.10.0']' returned non-zero exit status 1[/color]
[color=#339966]    ============================================================================[/color]
[color=#339966]    Edit setup.cfg to change the build options[/color]
[color=#339966]    [/color]
[color=#339966]    BUILDING MATPLOTLIB[/color]
[color=#339966]                matplotlib: yes [3.0.3][/color]
[color=#339966]                    python: yes [3.5.3 (default, Jul  9 2020, 13:00:10)  [GCC
                            6.3.0 20170516]][/color]
[color=#339966]                  platform: yes [linux][/color]
[color=#339966]    [/color]
[color=#339966]    REQUIRED DEPENDENCIES AND EXTENSIONS[/color]
[color=#339966]                     numpy: yes [not found. pip may install it below.][/color]
[color=#339966]          install_requires: yes [handled by setuptools][/color]
[color=#339966]                    libagg: yes [pkg-config information for 'libagg' could not
                            be found. Using local copy.][/color]
[color=#339966]                  freetype: yes [version 2.6.3][/color]
[color=#339966]                       png: yes [version 1.6.28][/color]
[color=#339966]                     qhull: yes [pkg-config information for 'libqhull' could not
                            be found. Using local copy.][/color]
[color=#339966]    [/color]
[color=#339966]    OPTIONAL SUBPACKAGES[/color]
[color=#339966]               sample_data: yes [installing][/color]
[color=#339966]                  toolkits: yes [installing][/color]
[color=#339966]                     tests: no  [skipping due to configuration][/color]
[color=#339966]            toolkits_tests: no  [skipping due to configuration][/color]
[color=#339966]    [/color]
[color=#339966]    OPTIONAL BACKEND EXTENSIONS[/color]
[color=#339966]                       agg: yes [installing][/color]
[color=#339966]                     tkagg: yes [installing; run-time loading from Python Tcl /
                            Tk][/color]
[color=#339966]                    macosx: no  [Mac OS-X only][/color]
[color=#339966]                 windowing: no  [Microsoft Windows only][/color]
[color=#339966]    [/color]
[color=#339966]    OPTIONAL PACKAGE DATA[/color]
[color=#339966]                      dlls: no  [skipping due to configuration][/color]
[color=#339966]    [/color]
[color=#339966]    [/color]
[color=#339966]    ----------------------------------------[/color]
[color=#339966]Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-c45kilc3/matplotlib/[/color]
[color=#339966]linaro@tinkerboard:~$ [/color]
[color=#339966][color=#339966]
[/color]
Reply
#2
Bah! I get the very same error with armbian.
Reply
#3
hi all...

Always with pip ,-]....

I don't know why.. But I find updating / upgrading pip helps...

pip3 install --upgrade setuptools pip
or
python3 -m pip install --upgrade pip
or
python -m pip install --upgrade pip
or
pip3 install --upgrade pip

make sure to also...
sudo apt install libpulse-dev python-dev

before..
sudo pip3 install matplotlib


note.. 
I'm using TinkerOS_Android 7 Nougat v14.4.0.5 with
Pydroid 3 - IDE for Python 3 and matplotlib [Quick Install] from pip
--------------
hope it helps
k,
[-] The following 1 user Likes k247tEK's post:
  • cfhogan
Reply
#4
(08-22-2020, 05:27 AM)k247tEK Wrote: hi all...

Always with pip ,-]....

I don't know why.. But I find updating / upgrading pip helps...

pip3 install --upgrade setuptools pip
or
python3 -m pip install --upgrade pip
or
python -m pip install --upgrade pip
or
pip3 install --upgrade pip

make sure to also...
sudo apt install libpulse-dev python-dev

before..
sudo pip3 install matplotlib


note.. 
I'm using TinkerOS_Android 7 Nougat v14.4.0.5 with
 Pydroid 3 - IDE for Python 3 and matplotlib [Quick Install] from pip
--------------
hope it helps
k,

Thanks for that k,
No joy for me, unfortunately, but the error is different now see below:
(I see you are using nougat, perhaps Ill give that a go...)

Code:
root@tinkerboard:/home/conor# pip3 install matplotlib
[color=#ff3366]Processing /root/.cache/pip/wheels/26/d4/22/c7db04870c69b6522bfb1b907f76122918a1a2741a2d389e0d/matplotlib-3.3.1-cp36-cp36m-linux_armv7l.whl[/color]
[color=#ff3366]Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (2.8.1)[/color]
[color=#ff3366]Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (1.2.0)[/color]
[color=#ff3366]Requirement already satisfied: certifi>=2020.06.20 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (2020.6.20)[/color]
[color=#ff3366]Collecting pillow>=6.2.0[/color]
[color=#ff3366]  Using cached Pillow-7.2.0.tar.gz (39.1 MB)[/color]
[color=#ff3366]Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (2.4.7)[/color]
[color=#ff3366]Requirement already satisfied: numpy>=1.15 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (1.19.1)[/color]
[color=#ff3366]Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib) (0.10.0)[/color]
[color=#ff3366]Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.1->matplotlib) (1.11.0)[/color]
[color=#ff3366]Building wheels for collected packages: pillow[/color]
[color=#ff3366]  Building wheel for pillow (setup.py) ... error[/color]
[color=#ff3366]  ERROR: Command errored out with exit status 1:[/color]
[color=#ff3366]   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qoetmfnz/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qoetmfnz/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nl3cr9st[/color]
[color=#ff3366]       cwd: /tmp/pip-install-qoetmfnz/pillow/[/color]
[color=#ff3366]  Complete output (170 lines):[/color]
[color=#ff3366]  running bdist_wheel[/color]
[color=#ff3366]  running build[/color]
[color=#ff3366]  running build_py[/color]
[color=#ff3366]  creating build[/color]
[color=#ff3366]  creating build/lib.linux-armv7l-3.6[/color]
[color=#ff3366]  creating build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/features.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/_version.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/_util.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/Image.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]  running egg_info[/color]
[color=#ff3366]  writing src/Pillow.egg-info/PKG-INFO[/color]
[color=#ff3366]  writing dependency_links to src/Pillow.egg-info/dependency_links.txt[/color]
[color=#ff3366]  writing top-level names to src/Pillow.egg-info/top_level.txt[/color]
[color=#ff3366]  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'[/color]
[color=#ff3366]  reading manifest template 'MANIFEST.in'[/color]
[color=#ff3366]  warning: no files found matching '*.c'[/color]
[color=#ff3366]  warning: no files found matching '*.h'[/color]
[color=#ff3366]  warning: no files found matching '*.sh'[/color]
[color=#ff3366]  warning: no previously-included files found matching '.appveyor.yml'[/color]
[color=#ff3366]  warning: no previously-included files found matching '.coveragerc'[/color]
[color=#ff3366]  warning: no previously-included files found matching '.editorconfig'[/color]
[color=#ff3366]  warning: no previously-included files found matching '.readthedocs.yml'[/color]
[color=#ff3366]  warning: no previously-included files found matching 'codecov.yml'[/color]
[color=#ff3366]  warning: no previously-included files matching '.git*' found anywhere in distribution[/color]
[color=#ff3366]  warning: no previously-included files matching '*.pyc' found anywhere in distribution[/color]
[color=#ff3366]  warning: no previously-included files matching '*.so' found anywhere in distribution[/color]
[color=#ff3366]  no previously-included directories found matching '.ci'[/color]
[color=#ff3366]  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'[/color]
[color=#ff3366]  running build_ext[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  [/color]
[color=#ff3366]  The headers or library files could not be found for jpeg,[/color]
[color=#ff3366]  a required dependency when compiling Pillow from source.[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  Please see the install instructions at:[/color]
[color=#ff3366]     {snip}[/color][color=#ff3366]pillow.readthedocs.io/en/latest/installation.html[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  Traceback (most recent call last):[/color]
[color=#ff3366]    File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 903, in <module>[/color]
[color=#ff3366]      zip_safe=not (debug_build() or PLATFORM_MINGW),[/color]
[color=#ff3366]    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 163, in setup[/color]
[color=#ff3366]      return distutils.core.setup(**attrs)[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup[/color]
[color=#ff3366]      dist.run_commands()[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands[/color]
[color=#ff3366]      self.run_command(cmd)[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]      cmd_obj.run()[/color]
[color=#ff3366]    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 290, in run[/color]
[color=#ff3366]      self.run_command('build')[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command[/color]
[color=#ff3366]      self.distribution.run_command(command)[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]      cmd_obj.run()[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run[/color]
[color=#ff3366]      self.run_command(cmd_name)[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command[/color]
[color=#ff3366]      self.distribution.run_command(command)[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]      cmd_obj.run()[/color]
[color=#ff3366]    File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run[/color]
[color=#ff3366]      self.build_extensions()[/color]
[color=#ff3366]    File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 694, in build_extensions[/color]
[color=#ff3366]      raise RequiredDependencyException(f)[/color]
[color=#ff3366]  __main__.RequiredDependencyException: jpeg[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  During handling of the above exception, another exception occurred:[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  Traceback (most recent call last):[/color]
[color=#ff3366]    File "<string>", line 1, in <module>[/color]
[color=#ff3366]    File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 918, in <module>[/color]
[color=#ff3366]      raise RequiredDependencyException(msg)[/color]
[color=#ff3366]  __main__.RequiredDependencyException:[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  The headers or library files could not be found for jpeg,[/color]
[color=#ff3366]  a required dependency when compiling Pillow from source.[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  Please see the install instructions at:[/color]
[color=#ff3366]     {snip}pillow.readthedocs.io/en/latest/installation.html[/color]
[color=#ff3366]  [/color]
[color=#ff3366]  [/color]
[color=#ff3366]  ----------------------------------------[/color]
[color=#ff3366]  ERROR: Failed building wheel for pillow[/color]
[color=#ff3366]  Running setup.py clean for pillow[/color]
[color=#ff3366]Failed to build pillow[/color]
[color=#ff3366]DEPRECATION: Could not build wheels for pillow which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at [i]{snip}[/i]github.com/pypa/pip/issues/8368.[/color]
[color=#ff3366]Installing collected packages: pillow, matplotlib[/color]
[color=#ff3366]    Running setup.py install for pillow ... error[/color]
[color=#ff3366]    ERROR: Command errored out with exit status 1:[/color]
[color=#ff3366]     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qoetmfnz/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qoetmfnz/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-rul8hov3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/pillow[/color]
[color=#ff3366]         cwd: /tmp/pip-install-qoetmfnz/pillow/[/color]
[color=#ff3366]    Complete output (172 lines):[/color]
[color=#ff3366]    running install[/color]
[color=#ff3366]    running build[/color]
[color=#ff3366]    running build_py[/color]
[color=#ff3366]    creating build[/color]
[color=#ff3366]    creating build/lib.linux-armv7l-3.6[/color]
[color=#ff3366]    creating build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/features.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/_version.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/_util.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/Image.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.6/PIL[/color]
[color=#ff3366]    running egg_info[/color]
[color=#ff3366]    writing src/Pillow.egg-info/PKG-INFO[/color]
[color=#ff3366]    writing dependency_links to src/Pillow.egg-info/dependency_links.txt[/color]
[color=#ff3366]    writing top-level names to src/Pillow.egg-info/top_level.txt[/color]
[color=#ff3366]    reading manifest file 'src/Pillow.egg-info/SOURCES.txt'[/color]
[color=#ff3366]    reading manifest template 'MANIFEST.in'[/color]
[color=#ff3366]    warning: no files found matching '*.c'[/color]
[color=#ff3366]    warning: no files found matching '*.h'[/color]
[color=#ff3366]    warning: no files found matching '*.sh'[/color]
[color=#ff3366]    warning: no previously-included files found matching '.appveyor.yml'[/color]
[color=#ff3366]    warning: no previously-included files found matching '.coveragerc'[/color]
[color=#ff3366]    warning: no previously-included files found matching '.editorconfig'[/color]
[color=#ff3366]    warning: no previously-included files found matching '.readthedocs.yml'[/color]
[color=#ff3366]    warning: no previously-included files found matching 'codecov.yml'[/color]
[color=#ff3366]    warning: no previously-included files matching '.git*' found anywhere in distribution[/color]
[color=#ff3366]    warning: no previously-included files matching '*.pyc' found anywhere in distribution[/color]
[color=#ff3366]    warning: no previously-included files matching '*.so' found anywhere in distribution[/color]
[color=#ff3366]    no previously-included directories found matching '.ci'[/color]
[color=#ff3366]    writing manifest file 'src/Pillow.egg-info/SOURCES.txt'[/color]
[color=#ff3366]    running build_ext[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    [/color]
[color=#ff3366]    The headers or library files could not be found for jpeg,[/color]
[color=#ff3366]    a required dependency when compiling Pillow from source.[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    Please see the install instructions at:[/color]
[color=#ff3366]   [i]    {snip}[/i]pillow.readthedocs.io/en/latest/installation.html[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    Traceback (most recent call last):[/color]
[color=#ff3366]      File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 903, in <module>[/color]
[color=#ff3366]        zip_safe=not (debug_build() or PLATFORM_MINGW),[/color]
[color=#ff3366]      File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 163, in setup[/color]
[color=#ff3366]        return distutils.core.setup(**attrs)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/core.py", line 148, in setup[/color]
[color=#ff3366]        dist.run_commands()[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands[/color]
[color=#ff3366]        self.run_command(cmd)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]        cmd_obj.run()[/color]
[color=#ff3366]      File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run[/color]
[color=#ff3366]        return orig.install.run(self)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run[/color]
[color=#ff3366]        self.run_command('build')[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command[/color]
[color=#ff3366]        self.distribution.run_command(command)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]        cmd_obj.run()[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run[/color]
[color=#ff3366]        self.run_command(cmd_name)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command[/color]
[color=#ff3366]        self.distribution.run_command(command)[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command[/color]
[color=#ff3366]        cmd_obj.run()[/color]
[color=#ff3366]      File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run[/color]
[color=#ff3366]        self.build_extensions()[/color]
[color=#ff3366]      File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 694, in build_extensions[/color]
[color=#ff3366]        raise RequiredDependencyException(f)[/color]
[color=#ff3366]    __main__.RequiredDependencyException: jpeg[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    During handling of the above exception, another exception occurred:[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    Traceback (most recent call last):[/color]
[color=#ff3366]      File "<string>", line 1, in <module>[/color]
[color=#ff3366]      File "/tmp/pip-install-qoetmfnz/pillow/setup.py", line 918, in <module>[/color]
[color=#ff3366]        raise RequiredDependencyException(msg)[/color]
[color=#ff3366]    __main__.RequiredDependencyException:[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    The headers or library files could not be found for jpeg,[/color]
[color=#ff3366]    a required dependency when compiling Pillow from source.[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    Please see the install instructions at:[/color]
[color=#ff3366]       {snip}pillow.readthedocs.io/en/latest/installation.html[/color]
[color=#ff3366]    [/color]
[color=#ff3366]    [/color]
[color=#ff3366]    ----------------------------------------[/color]
[color=#ff3366]ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qoetmfnz/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qoetmfnz/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-rul8hov3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/pillow Check the logs for full command output.[/color]
[color=#ff3366]
[/color]
Reply
#5
hi cfhogan,

do you have to use sudo with 

pip3 install matplotlib ?????

ie.. 
Code:
sudo pip3 install matplotlib

you have enabled root account.. ]]...
it's been a long time since I used TinkerOS_Debian V2.0.8..
TinkerOS default username is “linaro”, password is “linaro”

if you have not removed linaro account..
try to install from there with sudo...

from code.. looks like problem might be pillow...

Install Pillow with pip:
Code:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

also.. how did you update pip3?

----------------
hope it helps,
k,
---
ps,
as Im4Tinker, advice me once.. 
Wouldn't it be nicer to use the [code] tags ? ;-]...
[-] The following 1 user Likes k247tEK's post:
  • cfhogan
Reply
#6
(08-23-2020, 08:32 AM)k247tEK Wrote: hi cfhogan,

do you have to use sudo with 

pip3 install matplotlib ?????

ie.. 
Code:
sudo pip3 install matplotlib

you have enabled root account.. ]]...
it's been a long time since I used TinkerOS_Debian V2.0.8..
TinkerOS default username is “linaro”, password is “linaro”

if you have not removed linaro account..
try to install from there with sudo...

from code.. looks like problem might be pillow...

Install Pillow with pip:
Code:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

also.. how did you update pip3?

----------------
hope it helps,
k,
---
ps,
as Im4Tinker, advice me once.. 
Wouldn't it be nicer to use the code tags ? ;-]...

Thanks for the help k, but still no joy.. see below - now with code tagsSmile

Code:
 
linaro@tinkerboard:~$ python3 -m pip install --upgrade pip
Requirement already up-to-date: pip in ./.local/lib/python3.5/site-packages (20.2.2)
linaro@tinkerboard:~$ python3 -m pip install --upgrade pillow
Collecting pillow
 Using cached Pillow-7.2.0.tar.gz (39.1 MB)
Building wheels for collected packages: pillow
 Building wheel for pillow (setup.py) ... error
 ERROR: Command errored out with exit status 1:
  command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zsctl6an/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zsctl6an/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ssx01n8q
      cwd: /tmp/pip-install-zsctl6an/pillow/
 Complete output (170 lines):
 running bdist_wheel
 running build
 running build_py
 creating build
 creating build/lib.linux-armv7l-3.5
 creating build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/_util.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/features.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/Image.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/_version.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
 running egg_info
 writing top-level names to src/Pillow.egg-info/top_level.txt
 writing src/Pillow.egg-info/PKG-INFO
 writing dependency_links to src/Pillow.egg-info/dependency_links.txt
 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'
 warning: no previously-included files found matching '.appveyor.yml'
 warning: no previously-included files found matching '.coveragerc'
 warning: no previously-included files found matching '.editorconfig'
 warning: no previously-included files found matching '.readthedocs.yml'
 warning: no previously-included files found matching 'codecov.yml'
 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
 no previously-included directories found matching '.ci'
 writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
 running build_ext
 
 
 The headers or library files could not be found for jpeg,
 a required dependency when compiling Pillow from source.
 
 Please see the install instructions at:
    https://pillow.readthedocs.io/en/latest/installation.html
 
 Traceback (most recent call last):
   File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 903, in <module>
     zip_safe=not (debug_build() or PLATFORM_MINGW),
   File "/home/linaro/.local/lib/python3.5/site-packages/setuptools/__init__.py", line 163, in setup
     return distutils.core.setup(**attrs)
   File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
     dist.run_commands()
   File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
     cmd_obj.run()
   File "/usr/local/lib/python3.5/dist-packages/wheel/bdist_wheel.py", line 290, in run
     self.run_command('build')
   File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
     self.distribution.run_command(command)
   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
     cmd_obj.run()
   File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
     self.run_command(cmd_name)
   File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
     self.distribution.run_command(command)
   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
     cmd_obj.run()
   File "/usr/lib/python3.5/distutils/command/build_ext.py", line 339, in run
     self.build_extensions()
   File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 694, in build_extensions
     raise RequiredDependencyException(f)
 __main__.RequiredDependencyException: jpeg
 
 During handling of the above exception, another exception occurred:
 
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 918, in <module>
     raise RequiredDependencyException(msg)
 __main__.RequiredDependencyException:
 
 The headers or library files could not be found for jpeg,
 a required dependency when compiling Pillow from source.
 
 Please see the install instructions at:
    https://pillow.readthedocs.io/en/latest/installation.html
 
 
 ----------------------------------------
 ERROR: Failed building wheel for pillow
 Running setup.py clean for pillow
Failed to build pillow
DEPRECATION: Could not build wheels for pillow which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: pillow
   Running setup.py install for pillow ... error
   ERROR: Command errored out with exit status 1:
    command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zsctl6an/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zsctl6an/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-99_qtuoz/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/pillow
        cwd: /tmp/pip-install-zsctl6an/pillow/
   Complete output (172 lines):
   running install
   running build
   running build_py
   creating build
   creating build/lib.linux-armv7l-3.5
   creating build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/_util.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/features.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/Image.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/_version.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.5/PIL
   running egg_info
   writing dependency_links to src/Pillow.egg-info/dependency_links.txt
   writing top-level names to src/Pillow.egg-info/top_level.txt
   writing src/Pillow.egg-info/PKG-INFO
   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'
   warning: no previously-included files found matching '.appveyor.yml'
   warning: no previously-included files found matching '.coveragerc'
   warning: no previously-included files found matching '.editorconfig'
   warning: no previously-included files found matching '.readthedocs.yml'
   warning: no previously-included files found matching 'codecov.yml'
   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
   no previously-included directories found matching '.ci'
   writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
   running build_ext
   
   
   The headers or library files could not be found for jpeg,
   a required dependency when compiling Pillow from source.
   
   Please see the install instructions at:
      https://pillow.readthedocs.io/en/latest/installation.html
   
   Traceback (most recent call last):
     File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 903, in <module>
       zip_safe=not (debug_build() or PLATFORM_MINGW),
     File "/home/linaro/.local/lib/python3.5/site-packages/setuptools/__init__.py", line 163, in setup
       return distutils.core.setup(**attrs)
     File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
       dist.run_commands()
     File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
       self.run_command(cmd)
     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
       cmd_obj.run()
     File "/home/linaro/.local/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run
       return orig.install.run(self)
     File "/usr/lib/python3.5/distutils/command/install.py", line 583, in run
       self.run_command('build')
     File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
       self.distribution.run_command(command)
     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
       cmd_obj.run()
     File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
       self.run_command(cmd_name)
     File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
       self.distribution.run_command(command)
     File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
       cmd_obj.run()
     File "/usr/lib/python3.5/distutils/command/build_ext.py", line 339, in run
       self.build_extensions()
     File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 694, in build_extensions
       raise RequiredDependencyException(f)
   __main__.RequiredDependencyException: jpeg
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/tmp/pip-install-zsctl6an/pillow/setup.py", line 918, in <module>
       raise RequiredDependencyException(msg)
   __main__.RequiredDependencyException:
   
   The headers or library files could not be found for jpeg,
   a required dependency when compiling Pillow from source.
   
   Please see the install instructions at:
      https://pillow.readthedocs.io/en/latest/installation.html
   
   
   ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zsctl6an/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zsctl6an/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-99_qtuoz/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/pillow Check the logs for full command output.
linaro@tinkerboard:~$
Reply
#7
nice.. ;-]..


have you already tried this.. 

ERROR: Failed building wheel for Pillow..

Python 3, you'll need.
Code:
sudo apt-get install python3 python-dev python3-dev \
    build-essential libssl-dev libffi-dev \
    libxml2-dev libxslt1-dev zlib1g-dev \
    python-pip

Python 2, you'll need.
Code:
sudo apt-get install python-dev  \
    build-essential libssl-dev libffi-dev \
    libxml2-dev libxslt1-dev zlib1g-dev \
    python-pip


----------------------------------------
and from Building on Linux..

If you didn’t build Python from source, make sure you have Python’s development libraries installed.

In Debian or Ubuntu:
Code:
sudo apt-get install python3-dev python3-setuptools

Prerequisites...
Code:
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
   libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
   libharfbuzz-dev libfribidi-dev libxcb1-dev


-------------------
hope this works,
k,
[-] The following 1 user Likes k247tEK's post:
  • cfhogan
Reply
#8
Thumbs Up 
(08-25-2020, 03:49 PM)k247tEK Wrote: nice.. ;-]..


have you already tried this.. 

ERROR: Failed building wheel for Pillow..

Python 3, you'll need.
Code:
sudo apt-get install python3 python-dev python3-dev \
    build-essential libssl-dev libffi-dev \
    libxml2-dev libxslt1-dev zlib1g-dev \
    python-pip

Python 2, you'll need.
Code:
sudo apt-get install python-dev  \
    build-essential libssl-dev libffi-dev \
    libxml2-dev libxslt1-dev zlib1g-dev \
    python-pip


----------------------------------------
and from Building on Linux..

If you didn’t build Python from source, make sure you have Python’s development libraries installed.

In Debian or Ubuntu:
Code:
sudo apt-get install python3-dev python3-setuptools

Prerequisites...
Code:
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
   libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
   libharfbuzz-dev libfribidi-dev libxcb1-dev


-------------------
hope this works,
k,

SOLVED!

k247tEK, you legend!

everything installed without an issue after 
Code:
sudo apt-get install libffi-dev
 followed by 
Code:
sudo pip3 install cffi

Many thanks for your time, greatly appreciated!  

CH
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)