hello i'm getting this error after bash install.sh
i tried it on raspbian and kali and on both i'm getting the same error
root@kali:/home/pi/AssistantPi# bash install.sh Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.20.1-2). python3-dev is already the newest version (3.7.3-1). python3-numpy is already the newest version (1:1.16.2-1). virtualenv is already the newest version (15.1.0+ds-2). libttspico-utils is already the newest version (1.0+git20130326-9). 0 upgraded, 0 newly installed, 0 to remove and 190 not upgraded. fatal: destination path '/root/AIY-projects-python' already exists and is not an empty directory. Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /root/AIY-projects-python/env/bin/python3 Not overwriting existing python script /root/AIY-projects-python/env/bin/python (you must use /root/AIY-projects-python/env/bin/python3) Installing setuptools, pkg_resources, pip, wheel...done. Obtaining file:///root/AIY-projects-python/src Collecting google-assistant-library==1.0.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/15/14/e5d242f45cda238740f9cde559a07a0c712ac9b22aa94d3a6f7986b92548/google_assistant_library-1.0.1-py2.py3-none-linux_armv7l.whl Collecting google-assistant-grpc==0.2.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/d3/3c/4a44b54b196fb7f23335f17fdfd3ce477cbff2404324df2ef9ef1f3e4bd3/google_assistant_grpc-0.2.0-py2.py3-none-any.whl Collecting google-auth==1.5.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/58/cb/96dbb4e50e7a9d856e89cc9c8e36ab1055f9774f7d85f37e2156c1d79d9f/google_auth-1.5.1-py2.py3-none-any.whl Collecting google-auth-oauthlib==0.2.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/46/df/d1f94ee2cffe5a83721f262efe51f3b2dcdd3b616caf007b8490e824c550/google_auth_oauthlib-0.2.0-py2.py3-none-any.whl Collecting google-cloud-speech==0.36.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/9a/a4/49b8e7b6b89facc17e554abe6aa401e01e076b64f79745e666460a8d5bd6/google_cloud_speech-0.36.0-py2.py3-none-any.whl Collecting gpiozero (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/5a/06/e3440c452a0c2ba1f12527c12c5676b158f2591ac6c43979016f21f71b2a/gpiozero-1.5.1-py2.py3-none-any.whl Collecting paho-mqtt (from aiy-projects-python==1.2) Collecting protobuf==3.6.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/77/78/a7f1ce761e2c738e209857175cd4f90a8562d1bde32868a8cd5290d58926/protobuf-3.6.1-py2.py3-none-any.whl Collecting picamera (from aiy-projects-python==1.2) Collecting pillow (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/51/fe/18125dc680720e4c3086dd3f5f95d80057c41ab98326877fc7d3ff6d0ee5/Pillow-6.1.0.tar.gz Collecting RPi.GPIO (from aiy-projects-python==1.2) Collecting argparse<2,>=1.4.0 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl Collecting enum34<2,>=1.1.6 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl Collecting pathlib2<3,>=2.3.0 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/67/c6/4dbf5dfdbe1140cadf765c3896acc098578626c35721bc7d3eb35f6a8fc1/pathlib2-2.3.4-py2.py3-none-any.whl Requirement already satisfied: requests<3,>=2.14.2 in /usr/lib/python3/dist-packages (from google-assistant-library==1.0.1->aiy-projects-python==1.2) (2.21.0) Collecting googleapis-common-protos>=1.5.2 (from google-assistant-grpc==0.2.0->aiy-projects-python==1.2) Collecting grpcio>=1.3.5 (from google-assistant-grpc==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/19/c1/bee35b6efcace3c77cb275c6465ba9e574d01acf9abf785253fdeed526f3/grpcio-1.22.0.tar.gz Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from google-auth==1.5.1->aiy-projects-python==1.2) (1.12.0) Collecting pyasn1-modules>=0.2.1 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl Collecting rsa>=3.1.4 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl Collecting cachetools>=2.0.0 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1.1-py2.py3-none-any.whl Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/c2/e2/9fd03d55ffb70fe51f587f20bcf407a6927eb121de86928b34d162f0b1ac/requests_oauthlib-1.2.0-py2.py3-none-any.whl Collecting google-api-core[grpc]<2.0.0dev,>=0.1.4 (from google-cloud-speech==0.36.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/a2/78/bbd685dda48a291b4cc81568ed3e1a89af7a61958dc88a3d52a819b1919d/google_api_core-1.13.0-py2.py3-none-any.whl Collecting colorzero (from gpiozero->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/cc/a2/718e78485d0a42c3c2971e0d4a0eb9878bd1121cd640f0773de0695c858e/colorzero-1.1-py2.py3-none-any.whl Requirement already satisfied: setuptools in ./env/lib/python3.7/site-packages (from protobuf==3.6.1->aiy-projects-python==1.2) (41.0.1) Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1-modules>=0.2.1->google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/58/5e/289e98ff5ad1a321945803000c5f10f5f90eba346d13139ecdd075cfbe17/oauthlib-3.0.2-py2.py3-none-any.whl Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.4->google-cloud-speech==0.36.0->aiy-projects-python==1.2) (2019.1) Building wheels for collected packages: pillow, grpcio Building wheel for pillow (setup.py) ... error ERROR: Complete output from command /root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-2ixl3zhe --python-tag cp37: ERROR: running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Image.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_version.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_util.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/features.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.7/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' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'azure-pipelines.yml' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution 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: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 873, in <module> zip_safe=not (debug_build() or PLATFORM_MINGW), File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/root/AIY-projects-python/env/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 674, 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 "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 888, 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: https://pillow.readthedocs.io/en/latest/installation.html ---------------------------------------- ERROR: Failed building wheel for pillow Running setup.py clean for pillow Building wheel for grpcio (setup.py) ... \ - \ done Stored in directory: /root/.cache/pip/wheels/ac/01/c4/8c9a439274af499a5609e491fcf5cea663acfd10545a27cacd Successfully built grpcio Failed to build pillow Installing collected packages: argparse, enum34, pathlib2, pyasn1, pyasn1-modules, rsa, cachetools, google-auth, google-assistant-library, protobuf, googleapis-common-protos, grpcio, google-assistant-grpc, oauthlib, requests-oauthlib, google-auth-oauthlib, google-api-core, google-cloud-speech, colorzero, gpiozero, paho-mqtt, picamera, pillow, RPi.GPIO, aiy-projects-python Running setup.py install for pillow ... error ERROR: Complete output from command /root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-tmmxse7h/install-record.txt --single-version-externally-managed --compile --install-headers /root/AIY-projects-python/env/include/site/python3.7/pillow: ERROR: running install running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Image.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_version.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_util.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/features.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.7/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' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'azure-pipelines.yml' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution 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: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 873, in <module> zip_safe=not (debug_build() or PLATFORM_MINGW), File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run self.run_command('build') File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 674, 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 "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 888, 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: https://pillow.readthedocs.io/en/latest/installation.html ---------------------------------------- ERROR: Command "/root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-tmmxse7h/install-record.txt --single-version-externally-managed --compile --install-headers /root/AIY-projects-python/env/include/site/python3.7/pillow" failed with error code 1 in /tmp/pip-install-ic35mrhl/pillow/ Requirement already satisfied: google-auth-oauthlib in ./env/lib/python3.7/site-packages (0.2.0) Requirement already satisfied: google-auth in ./env/lib/python3.7/site-packages (from google-auth-oauthlib) (1.5.1) Requirement already satisfied: requests-oauthlib>=0.7.0 in ./env/lib/python3.7/site-packages (from google-auth-oauthlib) (1.2.0) Requirement already satisfied: cachetools>=2.0.0 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (3.1.1) Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from google-auth->google-auth-oauthlib) (1.12.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (0.2.5) Requirement already satisfied: rsa>=3.1.4 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (4.0) Requirement already satisfied: requests>=2.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib) (2.21.0) Requirement already satisfied: oauthlib>=3.0.0 in ./env/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib) (3.0.2) Requirement already satisfied: pyasn1<0.5.0,>=0.4.1 in ./env/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth->google-auth-oauthlib) (0.4.5) Created symlink /etc/systemd/system/multi-user.target.wants/AssistantPi.service → /lib/systemd/system/AssistantPi.service. Traceback (most recent call last): File "src/AssistantPi.py", line 7, in <module> import examples.voice.assistant_library_with_local_commands_demo as assistant File "/root/AIY-projects-python/src/examples/voice/assistant_library_with_local_commands_demo.py", line 24, in <module> import logging File "/usr/lib/python3.7/logging/__init__.py", line 26, in <module> import sys, os, time, io, traceback, warnings, weakref, collections.abc File "/usr/lib/python3.7/traceback.py", line 5, in <module> import linecache File "/usr/lib/python3.7/linecache.py", line 11, in <module> import tokenize File "/usr/lib/python3.7/tokenize.py", line 33, in <module> import re File "/usr/lib/python3.7/re.py", line 143, in <module> class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'
hello i'm getting this error after bash install.sh
i tried it on raspbian and kali and on both i'm getting the same error
root@kali:/home/pi/AssistantPi# bash install.sh Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.20.1-2). python3-dev is already the newest version (3.7.3-1). python3-numpy is already the newest version (1:1.16.2-1). virtualenv is already the newest version (15.1.0+ds-2). libttspico-utils is already the newest version (1.0+git20130326-9). 0 upgraded, 0 newly installed, 0 to remove and 190 not upgraded. fatal: destination path '/root/AIY-projects-python' already exists and is not an empty directory. Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /root/AIY-projects-python/env/bin/python3 Not overwriting existing python script /root/AIY-projects-python/env/bin/python (you must use /root/AIY-projects-python/env/bin/python3) Installing setuptools, pkg_resources, pip, wheel...done. Obtaining file:///root/AIY-projects-python/src Collecting google-assistant-library==1.0.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/15/14/e5d242f45cda238740f9cde559a07a0c712ac9b22aa94d3a6f7986b92548/google_assistant_library-1.0.1-py2.py3-none-linux_armv7l.whl Collecting google-assistant-grpc==0.2.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/d3/3c/4a44b54b196fb7f23335f17fdfd3ce477cbff2404324df2ef9ef1f3e4bd3/google_assistant_grpc-0.2.0-py2.py3-none-any.whl Collecting google-auth==1.5.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/58/cb/96dbb4e50e7a9d856e89cc9c8e36ab1055f9774f7d85f37e2156c1d79d9f/google_auth-1.5.1-py2.py3-none-any.whl Collecting google-auth-oauthlib==0.2.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/46/df/d1f94ee2cffe5a83721f262efe51f3b2dcdd3b616caf007b8490e824c550/google_auth_oauthlib-0.2.0-py2.py3-none-any.whl Collecting google-cloud-speech==0.36.0 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/9a/a4/49b8e7b6b89facc17e554abe6aa401e01e076b64f79745e666460a8d5bd6/google_cloud_speech-0.36.0-py2.py3-none-any.whl Collecting gpiozero (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/5a/06/e3440c452a0c2ba1f12527c12c5676b158f2591ac6c43979016f21f71b2a/gpiozero-1.5.1-py2.py3-none-any.whl Collecting paho-mqtt (from aiy-projects-python==1.2) Collecting protobuf==3.6.1 (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/77/78/a7f1ce761e2c738e209857175cd4f90a8562d1bde32868a8cd5290d58926/protobuf-3.6.1-py2.py3-none-any.whl Collecting picamera (from aiy-projects-python==1.2) Collecting pillow (from aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/51/fe/18125dc680720e4c3086dd3f5f95d80057c41ab98326877fc7d3ff6d0ee5/Pillow-6.1.0.tar.gz Collecting RPi.GPIO (from aiy-projects-python==1.2) Collecting argparse<2,>=1.4.0 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl Collecting enum34<2,>=1.1.6 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl Collecting pathlib2<3,>=2.3.0 (from google-assistant-library==1.0.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/67/c6/4dbf5dfdbe1140cadf765c3896acc098578626c35721bc7d3eb35f6a8fc1/pathlib2-2.3.4-py2.py3-none-any.whl Requirement already satisfied: requests<3,>=2.14.2 in /usr/lib/python3/dist-packages (from google-assistant-library==1.0.1->aiy-projects-python==1.2) (2.21.0) Collecting googleapis-common-protos>=1.5.2 (from google-assistant-grpc==0.2.0->aiy-projects-python==1.2) Collecting grpcio>=1.3.5 (from google-assistant-grpc==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/19/c1/bee35b6efcace3c77cb275c6465ba9e574d01acf9abf785253fdeed526f3/grpcio-1.22.0.tar.gz Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from google-auth==1.5.1->aiy-projects-python==1.2) (1.12.0) Collecting pyasn1-modules>=0.2.1 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl Collecting rsa>=3.1.4 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl Collecting cachetools>=2.0.0 (from google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1.1-py2.py3-none-any.whl Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/c2/e2/9fd03d55ffb70fe51f587f20bcf407a6927eb121de86928b34d162f0b1ac/requests_oauthlib-1.2.0-py2.py3-none-any.whl Collecting google-api-core[grpc]<2.0.0dev,>=0.1.4 (from google-cloud-speech==0.36.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/a2/78/bbd685dda48a291b4cc81568ed3e1a89af7a61958dc88a3d52a819b1919d/google_api_core-1.13.0-py2.py3-none-any.whl Collecting colorzero (from gpiozero->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/cc/a2/718e78485d0a42c3c2971e0d4a0eb9878bd1121cd640f0773de0695c858e/colorzero-1.1-py2.py3-none-any.whl Requirement already satisfied: setuptools in ./env/lib/python3.7/site-packages (from protobuf==3.6.1->aiy-projects-python==1.2) (41.0.1) Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1-modules>=0.2.1->google-auth==1.5.1->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib==0.2.0->aiy-projects-python==1.2) Using cached https://files.pythonhosted.org/packages/58/5e/289e98ff5ad1a321945803000c5f10f5f90eba346d13139ecdd075cfbe17/oauthlib-3.0.2-py2.py3-none-any.whl Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.4->google-cloud-speech==0.36.0->aiy-projects-python==1.2) (2019.1) Building wheels for collected packages: pillow, grpcio Building wheel for pillow (setup.py) ... error ERROR: Complete output from command /root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-2ixl3zhe --python-tag cp37: ERROR: running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Image.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_version.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_util.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/features.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.7/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' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'azure-pipelines.yml' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution 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: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 873, in <module> zip_safe=not (debug_build() or PLATFORM_MINGW), File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/root/AIY-projects-python/env/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 674, 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 "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 888, 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: https://pillow.readthedocs.io/en/latest/installation.html ---------------------------------------- ERROR: Failed building wheel for pillow Running setup.py clean for pillow Building wheel for grpcio (setup.py) ... \ - \ done Stored in directory: /root/.cache/pip/wheels/ac/01/c4/8c9a439274af499a5609e491fcf5cea663acfd10545a27cacd Successfully built grpcio Failed to build pillow Installing collected packages: argparse, enum34, pathlib2, pyasn1, pyasn1-modules, rsa, cachetools, google-auth, google-assistant-library, protobuf, googleapis-common-protos, grpcio, google-assistant-grpc, oauthlib, requests-oauthlib, google-auth-oauthlib, google-api-core, google-cloud-speech, colorzero, gpiozero, paho-mqtt, picamera, pillow, RPi.GPIO, aiy-projects-python Running setup.py install for pillow ... error ERROR: Complete output from command /root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-tmmxse7h/install-record.txt --single-version-externally-managed --compile --install-headers /root/AIY-projects-python/env/include/site/python3.7/pillow: ERROR: running install running build running build_py creating build creating build/lib.linux-armv7l-3.7 creating build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__main__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Image.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TarIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_version.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_util.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/__init__.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/_binary.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/features.py -> build/lib.linux-armv7l-3.7/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-3.7/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' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.codecov.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'azure-pipelines.yml' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution 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: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 873, in <module> zip_safe=not (debug_build() or PLATFORM_MINGW), File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/root/AIY-projects-python/env/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run self.run_command('build') File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 674, 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 "/tmp/pip-install-ic35mrhl/pillow/setup.py", line 888, 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: https://pillow.readthedocs.io/en/latest/installation.html ---------------------------------------- ERROR: Command "/root/AIY-projects-python/env/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-ic35mrhl/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-tmmxse7h/install-record.txt --single-version-externally-managed --compile --install-headers /root/AIY-projects-python/env/include/site/python3.7/pillow" failed with error code 1 in /tmp/pip-install-ic35mrhl/pillow/ Requirement already satisfied: google-auth-oauthlib in ./env/lib/python3.7/site-packages (0.2.0) Requirement already satisfied: google-auth in ./env/lib/python3.7/site-packages (from google-auth-oauthlib) (1.5.1) Requirement already satisfied: requests-oauthlib>=0.7.0 in ./env/lib/python3.7/site-packages (from google-auth-oauthlib) (1.2.0) Requirement already satisfied: cachetools>=2.0.0 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (3.1.1) Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from google-auth->google-auth-oauthlib) (1.12.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (0.2.5) Requirement already satisfied: rsa>=3.1.4 in ./env/lib/python3.7/site-packages (from google-auth->google-auth-oauthlib) (4.0) Requirement already satisfied: requests>=2.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib) (2.21.0) Requirement already satisfied: oauthlib>=3.0.0 in ./env/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib) (3.0.2) Requirement already satisfied: pyasn1<0.5.0,>=0.4.1 in ./env/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth->google-auth-oauthlib) (0.4.5) Created symlink /etc/systemd/system/multi-user.target.wants/AssistantPi.service → /lib/systemd/system/AssistantPi.service. Traceback (most recent call last): File "src/AssistantPi.py", line 7, in <module> import examples.voice.assistant_library_with_local_commands_demo as assistant File "/root/AIY-projects-python/src/examples/voice/assistant_library_with_local_commands_demo.py", line 24, in <module> import logging File "/usr/lib/python3.7/logging/__init__.py", line 26, in <module> import sys, os, time, io, traceback, warnings, weakref, collections.abc File "/usr/lib/python3.7/traceback.py", line 5, in <module> import linecache File "/usr/lib/python3.7/linecache.py", line 11, in <module> import tokenize File "/usr/lib/python3.7/tokenize.py", line 33, in <module> import re File "/usr/lib/python3.7/re.py", line 143, in <module> class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'