This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 SDK difficulties

Hello,

I follow the nRF Connect SDK on a Windows 10 x64 computer and it's a crap. I get a lot of errors like this one. It's so crappy that I doubt that I will continue with the nRF9160 (that looks interesting, after so many years on nRF52, I'am disapointed by the new SDK).

Installing collected packages: pygit2
    Running setup.py install for pygit2 ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-_2v8t4rg\\pygit2\\setup.py'"'"'; __file__='"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-_2v8t4rg\\pygit2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\fabien\AppData\Local\Temp\pip-record-8d3mh90x\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\fabien\AppData\Local\Temp\pip-install-_2v8t4rg\pygit2\
    Complete output (58 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\pygit2
    copying pygit2\blame.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\config.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\credentials.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\errors.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\ffi.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\index.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\py2.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\py3.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\refspec.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\remote.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\repository.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\settings.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\submodule.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\utils.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\_build.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\_run.py -> build\lib.win-amd64-3.8\pygit2
    copying pygit2\__init__.py -> build\lib.win-amd64-3.8\pygit2
    creating build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\attr.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\blame.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\buffer.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\checkout.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\clone.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\common.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\config.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\describe.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\diff.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\errors.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\graph.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\index.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\merge.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\net.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\oid.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\pack.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\proxy.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\refspec.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\remote.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\repository.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\revert.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\stash.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\strarray.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\submodule.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\transport.h -> build\lib.win-amd64-3.8\pygit2\decl
    copying pygit2\decl\types.h -> build\lib.win-amd64-3.8\pygit2\decl
    running build_ext
    generating cffi module 'build\\temp.win-amd64-3.8\\Release\\pygit2._libgit2.c'
    creating build\temp.win-amd64-3.8
    creating build\temp.win-amd64-3.8\Release
    building '_pygit2' extension
    creating build\temp.win-amd64-3.8\Release\src
    cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT "-IC:\Program Files\libgit2\include" -Ic:\python38\include -Ic:\python38\include "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" /Tcsrc\blob.c /Fobuild\temp.win-amd64-3.8\Release\src\blob.obj
    error: command 'cl.exe' failed: No such file or directory
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-_2v8t4rg\\pygit2\\setup.py'"'"'; __file__='"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-_2v8t4rg\\pygit2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\fabien\AppData\Local\Temp\pip-record-8d3mh90x\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
F:\Git\Leolab\Projects\IOT_Express_CANBox\10_Tools\nRF_SDK\ncs>pip3 install -r zephyr\scripts\requirements.txt
Collecting Pillow
  Using cached files.pythonhosted.org/.../Pillow-6.2.0.tar.gz
Requirement already satisfied: PyYAML>=3.13 in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 2)) (4.2b4)
Collecting breathe==4.9.1
  Using cached files.pythonhosted.org/.../breathe-4.9.1-py2.py3-none-any.whl
Requirement already satisfied: colorama in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 4)) (0.4.1)
Collecting docutils==0.14
  Using cached files.pythonhosted.org/.../docutils-0.14-py3-none-any.whl
Collecting gcovr
  Using cached files.pythonhosted.org/.../gcovr-4.1-py2.py3-none-any.whl
Collecting git-spindle==2.0
  Using cached files.pythonhosted.org/.../git-spindle-2.0.tar.gz
Collecting gitlint
  Using cached files.pythonhosted.org/.../gitlint-0.12.0-py2.py3-none-any.whl
Requirement already satisfied: intelhex in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 9)) (2.2.1)
Collecting junit2html
  Using cached files.pythonhosted.org/.../junit2html-022.tar.gz
Requirement already satisfied: packaging in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 11)) (19.2)
Collecting ply==3.10
  Using cached files.pythonhosted.org/.../ply-3.10.tar.gz
Collecting pyelftools==0.24
  Using cached files.pythonhosted.org/.../pyelftools-0.24.tar.gz
Requirement already satisfied: pykwalify in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 14)) (1.7.0)
Collecting pyocd==0.21.0
  Using cached files.pythonhosted.org/.../pyocd-0.21.0-py2.py3-none-any.whl
Requirement already satisfied: pyserial in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 16)) (3.4)
Collecting pytest
  Using cached files.pythonhosted.org/.../pytest-5.2.1-py3-none-any.whl
Collecting sphinx==1.7.5
  Using cached files.pythonhosted.org/.../Sphinx-1.7.5-py2.py3-none-any.whl
Collecting sphinx_rtd_theme
  Using cached files.pythonhosted.org/.../sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl
Collecting sphinx-tabs
  Using cached files.pythonhosted.org/.../sphinx-tabs-1.1.13.tar.gz
Collecting sphinxcontrib-svg2pdfconverter
  Using cached files.pythonhosted.org/.../sphinxcontrib_svg2pdfconverter-1.0.1-py3-none-any.whl
Requirement already satisfied: west>=0.6.2 in c:\python38\lib\site-packages (from -r zephyr\scripts\requirements.txt (line 22)) (0.6.3)
Collecting wheel==0.30.0
  Using cached files.pythonhosted.org/.../wheel-0.30.0-py2.py3-none-any.whl
Collecting windows-curses
  Using cached files.pythonhosted.org/.../windows_curses-2.1.0-cp38-cp38-win_amd64.whl
Requirement already satisfied: six>=1.4 in c:\python38\lib\site-packages (from breathe==4.9.1->-r zephyr\scripts\requirements.txt (line 3)) (1.12.0)
Requirement already satisfied: jinja2 in c:\python38\lib\site-packages (from gcovr->-r zephyr\scripts\requirements.txt (line 6)) (2.10.3)
Collecting github3.py>=0.8.2
  Using cached files.pythonhosted.org/.../github3.py-1.3.0-py2.py3-none-any.whl
Collecting whelk>=1.11
  Using cached files.pythonhosted.org/.../whelk-2.7.1.tar.gz
Requirement already satisfied: docopt>=0.5.0 in c:\python38\lib\site-packages (from git-spindle==2.0->-r zephyr\scripts\requirements.txt (line 7)) (0.6.2)
Collecting arrow==0.14.2; python_version != "3.4"
  Using cached files.pythonhosted.org/.../arrow-0.14.2-py2.py3-none-any.whl
Requirement already satisfied: Click==7.0 in c:\python38\lib\site-packages (from gitlint->-r zephyr\scripts\requirements.txt (line 8)) (7.0)
Requirement already satisfied: pyparsing>=2.0.2 in c:\python38\lib\site-packages (from packaging->-r zephyr\scripts\requirements.txt (line 11)) (2.4.2)
Requirement already satisfied: python-dateutil>=2.4.2 in c:\python38\lib\site-packages (from pykwalify->-r zephyr\scripts\requirements.txt (line 14)) (2.8.0)
Collecting prettytable
  Using cached files.pythonhosted.org/.../prettytable-0.7.2.tar.bz2
Collecting intervaltree<4.0,>=3.0.2
  Using cached files.pythonhosted.org/.../intervaltree-3.0.2.tar.gz
Collecting cmsis-pack-manager>=0.2.7
  Using cached files.pythonhosted.org/.../cmsis_pack_manager-0.2.8-py2.py3-none-win_amd64.whl
Collecting pyusb<2.0,>=1.0.0b2
  Using cached files.pythonhosted.org/.../pyusb-1.0.2.tar.gz
Collecting pywinusb>=0.4.0; platform_system == "Windows"
  Using cached files.pythonhosted.org/.../pywinusb-0.4.2.zip
Collecting more-itertools>=4.0.0
  Using cached files.pythonhosted.org/.../more_itertools-7.2.0-py3-none-any.whl
Collecting py>=1.5.0
  Using cached files.pythonhosted.org/.../py-1.8.0-py2.py3-none-any.whl
Collecting pluggy<1.0,>=0.12
  Using cached files.pythonhosted.org/.../pluggy-0.13.0-py2.py3-none-any.whl
Collecting wcwidth
  Using cached files.pythonhosted.org/.../wcwidth-0.1.7-py2.py3-none-any.whl
Collecting atomicwrites>=1.0
  Using cached files.pythonhosted.org/.../atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting attrs>=17.4.0
  Using cached files.pythonhosted.org/.../attrs-19.3.0-py2.py3-none-any.whl
Requirement already satisfied: Pygments>=2.0 in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2.4.2)
Requirement already satisfied: snowballstemmer>=1.1 in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2.0.0)
Requirement already satisfied: imagesize in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (1.1.0)
Requirement already satisfied: setuptools in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (41.2.0)
Requirement already satisfied: babel!=2.0,>=1.3 in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2.7.0)
Requirement already satisfied: alabaster<0.8,>=0.7 in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (0.7.12)
Collecting sphinxcontrib-websupport
  Using cached files.pythonhosted.org/.../sphinxcontrib_websupport-1.1.2-py2.py3-none-any.whl
Requirement already satisfied: requests>=2.0.0 in c:\python38\lib\site-packages (from sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2.22.0)
Requirement already satisfied: configobj in c:\python38\lib\site-packages (from west>=0.6.2->-r zephyr\scripts\requirements.txt (line 22)) (5.0.6)
Requirement already satisfied: MarkupSafe>=0.23 in c:\python38\lib\site-packages (from jinja2->gcovr->-r zephyr\scripts\requirements.txt (line 6)) (1.1.1)
Collecting jwcrypto>=0.5.0
  Using cached files.pythonhosted.org/.../jwcrypto-0.6.0-py2.py3-none-any.whl
Collecting uritemplate>=3.0.0
  Using cached files.pythonhosted.org/.../uritemplate-3.0.0-py2.py3-none-any.whl
Collecting sortedcontainers<3.0,>=2.0
  Using cached files.pythonhosted.org/.../sortedcontainers-2.1.0-py2.py3-none-any.whl
Collecting appdirs>=1.4
  Using cached files.pythonhosted.org/.../appdirs-1.4.3-py2.py3-none-any.whl
Collecting milksnake>=0.1.2
  Using cached files.pythonhosted.org/.../milksnake-0.1.5-py2.py3-none-any.whl
Requirement already satisfied: pytz>=2015.7 in c:\python38\lib\site-packages (from babel!=2.0,>=1.3->sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2019.3)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\python38\lib\site-packages (from requests>=2.0.0->sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (1.25.6)
Requirement already satisfied: certifi>=2017.4.17 in c:\python38\lib\site-packages (from requests>=2.0.0->sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2019.9.11)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python38\lib\site-packages (from requests>=2.0.0->sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in c:\python38\lib\site-packages (from requests>=2.0.0->sphinx==1.7.5->-r zephyr\scripts\requirements.txt (line 18)) (2.8)
Requirement already satisfied: cryptography>=1.5 in c:\python38\lib\site-packages (from jwcrypto>=0.5.0->github3.py>=0.8.2->git-spindle==2.0->-r zephyr\scripts\requirements.txt (line 7)) (2.8)
Requirement already satisfied: cffi>=1.6.0 in c:\python38\lib\site-packages (from milksnake>=0.1.2->cmsis-pack-manager>=0.2.7->pyocd==0.21.0->-r zephyr\scripts\requirements.txt (line 15)) (1.13.0)
Requirement already satisfied: pycparser in c:\python38\lib\site-packages (from cffi>=1.6.0->milksnake>=0.1.2->cmsis-pack-manager>=0.2.7->pyocd==0.21.0->-r zephyr\scripts\requirements.txt (line 15)) (2.19)
ERROR: pyocd 0.21.0 has requirement pyyaml<6.0,>=5.1, but you'll have pyyaml 4.2b4 which is incompatible.
Installing collected packages: Pillow, docutils, sphinxcontrib-websupport, sphinx, breathe, gcovr, jwcrypto, uritemplate, github3.py, whelk, git-spindle, arrow, gitlint, junit2html, ply, pyelftools, prettytable, sortedcontainers, intervaltree, appdirs, milksnake, cmsis-pack-manager, pyusb, pywinusb, pyocd, more-itertools, py, pluggy, wcwidth, atomicwrites, attrs, pytest, sphinx-rtd-theme, sphinx-tabs, sphinxcontrib-svg2pdfconverter, wheel, windows-curses
    Running setup.py install for Pillow ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-vfrm1uka\\Pillow\\setup.py'"'"'; __file__='"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-vfrm1uka\\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 'C:\Users\fabien\AppData\Local\Temp\pip-record-0bbqhvde\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\fabien\AppData\Local\Temp\pip-install-vfrm1uka\Pillow\
    Complete output (176 lines):
    C:\Users\fabien\AppData\Local\Temp\pip-install-vfrm1uka\Pillow\setup.py:28: RuntimeWarning: Pillow does not yet support Python 3.8 and does not yet provide prebuilt Windows binaries. We do not recommend building from source on Windows.
      warnings.warn(
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\PIL
    copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ContainerIO.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\DcxImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\DdsImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\EpsImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ExifTags.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\features.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\FliImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\FontFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\FpxImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\FtexImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GbrImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GdImageFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GifImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GimpGradientFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GimpPaletteFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\GribStubImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\IcnsImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\IcoImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\Image.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageChops.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageCms.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageColor.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageDraw.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageDraw2.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageEnhance.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageFilter.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageFont.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageGrab.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageMath.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageMode.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageMorph.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageOps.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImagePalette.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImagePath.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageQt.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageSequence.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageShow.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageStat.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageTk.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageTransform.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImageWin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\ImtImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\IptcImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\Jpeg2KImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\JpegImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\JpegPresets.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\McIdasImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\MicImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\MpegImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\MpoImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\MspImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PaletteFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PalmImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PcdImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PcfFontFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PcxImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PdfImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PdfParser.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PixarImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PngImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PpmImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PsdImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PSDraw.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\PyAccess.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\SgiImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\SpiderImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\SunImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\TarIO.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\TgaImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\TiffImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\TiffTags.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\WalImageFile.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\WebPImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\WmfImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\XbmImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\XpmImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\_binary.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\_tkinter_finder.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\_util.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\_version.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\__init__.py -> build\lib.win-amd64-3.8\PIL
    copying src\PIL\__main__.py -> build\lib.win-amd64-3.8\PIL
    running egg_info
    writing src\Pillow.egg-info\PKG-INFO
    writing dependency_links to src\Pillow.egg-info\dependency_links.txt
    writing top-level names to src\Pillow.egg-info\top_level.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 '.codecov.yml'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'azure-pipelines.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 '.azure-pipelines'
    no previously-included directories found matching '.travis'
    writing manifest file 'src\Pillow.egg-info\SOURCES.txt'
    running build_ext

    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.
    Please see the install instructions at:
       pillow.readthedocs.io/.../installation.html
    Traceback (most recent call last):
      File "C:\Users\fabien\AppData\Local\Temp\pip-install-vfrm1uka\Pillow\setup.py", line 852, in <module>
        setup(
      File "c:\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "c:\python38\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\python38\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:\python38\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\python38\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\python38\lib\distutils\command\install.py", line 545, in run
        self.run_command('build')
      File "c:\python38\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python38\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\python38\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\python38\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python38\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\python38\lib\distutils\command\build_ext.py", line 340, in run
        self.build_extensions()
      File "C:\Users\fabien\AppData\Local\Temp\pip-install-vfrm1uka\Pillow\setup.py", line 687, in build_extensions
        raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: zlib
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\fabien\AppData\Local\Temp\pip-install-vfrm1uka\Pillow\setup.py", line 902, in <module>
        raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:
    The headers or library files could not be found for zlib,
    a required dependency when compiling Pillow from source.
    Please see the install instructions at:
       pillow.readthedocs.io/.../installation.html

    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-vfrm1uka\\Pillow\\setup.py'"'"'; __file__='"'"'C:\\Users\\fabien\\AppData\\Local\\Temp\\pip-install-vfrm1uka\\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 'C:\Users\fabien\AppData\Local\Temp\pip-record-0bbqhvde\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
Parents Reply Children
No Data
Related