I am trying to install the Kivy package on Pycharm and for some reason it is giving me an error. Note its not from the pip, it works for other packages and it is updated. The reason why I am asking for help is because I dont understand the interpreters commands and errors so I would love some help.
Thanks, I appreciate all the help I can get :)
The commad that I am using is -> pip install kivy
This is the given error
ERROR: Command errored out with exit status 1:
command: 'c:\users\frank\pycharmprojects\python1\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Frank\\AppData\\Lo
cal\\Temp\\pip-install-vr4dy_sq\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\Frank\\AppData\\Local\\Temp\\pip-install-vr4dy_sq\\kivy\\setup.py'"'"';f=getattr(token
ize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base
'C:\Users\Frank\AppData\Local\Temp\pip-pip-egg-info-j7rvr3va'
cwd: C:\Users\Frank\AppData\Local\Temp\pip-install-vr4dy_sq\kivy\
Complete output (395 lines):
WARNING: Skipping page https://github.com/kivy-garden/garden/archive/master.zip because the HEAD request got Content-Type: application/zip.The only supported Con
tent-Type is text/html
ERROR: Command errored out with exit status 1:
command: 'c:\users\frank\pycharmprojects\python1\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Frank\\AppDat
a\\Local\\Temp\\pip-wheel-4p5fq9jt\\cython\\setup.py'"'"'; __file__='"'"'C:\\Users\\Frank\\AppData\\Local\\Temp\\pip-wheel-4p5fq9jt\\cython\\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
'C:\Users\Frank\AppData\Local\Temp\pip-wheel-yf76rw9s'
cwd: C:\Users\Frank\AppData\Local\Temp\pip-wheel-4p5fq9jt\cython\
Complete output (321 lines):
Unable to find pgen, not compiling formal grammar.
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying cython.py -> build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\Cython
copying Cython\CodeWriter.py -> build\lib.win-amd64-3.9\Cython
copying Cython\Coverage.py -> build\lib.win-amd64-3.9\Cython
copying Cython\Debugging.py -> build\lib.win-amd64-3.9\Cython
copying Cython\Shadow.py -> build\lib.win-amd64-3.9\Cython
copying Cython\StringIOTree.py -> build\lib.win-amd64-3.9\Cython
copying Cython\TestUtils.py -> build\lib.win-amd64-3.9\Cython
copying Cython\Utils.py -> build\lib.win-amd64-3.9\Cython
copying Cython\__init__.py -> build\lib.win-amd64-3.9\Cython
creating build\lib.win-amd64-3.9\Cython\Build
copying Cython\Build\BuildExecutable.py -> build\lib.win-amd64-3.9\Cython\Build
copying Cython\Includes\cpython\exc.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\float.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\function.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\getargs.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\instance.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\int.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\iterator.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\list.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\long.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\longintrepr.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\mapping.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\mem.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\method.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\module.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\number.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\object.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\oldbuffer.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\pycapsule.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\pylifecycle.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\pystate.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\pythread.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\ref.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\sequence.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\set.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\slice.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\string.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\tuple.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\type.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\unicode.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\version.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\weakref.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
copying Cython\Includes\cpython\__init__.pxd -> build\lib.win-amd64-3.9\Cython\Includes\cpython
creating build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_bool.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_buffer.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_bytes.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_cobject.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_complex.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_dict.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_exc.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_float.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_function.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_getargs.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_instance.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_int.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_iterator.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_list.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_long.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_mapping.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_mem.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_method.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_module.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_number.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_object.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_oldbuffer.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_pycapsule.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_ref.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_sequence.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_set.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_string.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_tuple.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_type.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_unicode.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_version.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_weakref.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stdio.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stdlib.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stl.pxd -> build\lib.win-amd64-3.9\Cython\Includes\Deprecated
creating build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\errno.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\float.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\limits.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\locale.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\math.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\setjmp.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\signal.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\stddef.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\stdint.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\stdio.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\stdlib.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\string.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\time.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
copying Cython\Includes\libc\__init__.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libc
creating build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\algorithm.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\cast.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\complex.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\deque.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\forward_list.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\functional.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\iterator.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\limits.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\list.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\map.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\memory.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\pair.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\queue.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\set.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\stack.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\string.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\typeindex.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\typeinfo.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\unordered_map.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\unordered_set.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\utility.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\vector.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
copying Cython\Includes\libcpp\__init__.pxd -> build\lib.win-amd64-3.9\Cython\Includes\libcpp
creating build\lib.win-amd64-3.9\Cython\Includes\numpy
copying Cython\Includes\numpy\math.pxd -> build\lib.win-amd64-3.9\Cython\Includes\numpy
copying Cython\Includes\numpy\__init__.pxd -> build\lib.win-amd64-3.9\Cython\Includes\numpy
creating build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\dlfcn.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\fcntl.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\ioctl.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\mman.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\resource.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\select.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\signal.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\stat.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\stdio.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\stdlib.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\strings.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\time.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\types.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\unistd.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\wait.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Includes\posix\__init__.pxd -> build\lib.win-amd64-3.9\Cython\Includes\posix
copying Cython\Compiler\Code.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Compiler\FlowControl.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Compiler\ParseTreeTransforms.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Compiler\Parsing.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Compiler\Scanning.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Compiler\Visitor.pxd -> build\lib.win-amd64-3.9\Cython\Compiler
copying Cython\Runtime\refnanny.pyx -> build\lib.win-amd64-3.9\Cython\Runtime
copying Cython\Debugger\Tests\codefile -> build\lib.win-amd64-3.9\Cython\Debugger\Tests
copying Cython\Debugger\Tests\cfuncs.c -> build\lib.win-amd64-3.9\Cython\Debugger\Tests
copying Cython\Plex\Actions.pxd -> build\lib.win-amd64-3.9\Cython\Plex
copying Cython\Plex\Scanners.pxd -> build\lib.win-amd64-3.9\Cython\Plex
copying Cython\Utility\CConvert.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CpdefEnums.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CppConvert.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\MemoryView.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\TestCythonScope.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\TestCyUtilityLoader.pyx -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\AsyncGen.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Buffer.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Builtins.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Capsule.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CMath.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CommonStructures.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Complex.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Coroutine.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CythonFunction.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Embed.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Exceptions.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\ExtensionTypes.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\FunctionArguments.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\ImportExport.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\MemoryView_C.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\ModuleSetupCode.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\ObjectHandling.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Optimize.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Overflow.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Printing.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\Profile.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\StringTools.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\TestUtilityLoader.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\TypeConversion.c -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\arrayarray.h -> build\lib.win-amd64-3.9\Cython\Utility
copying Cython\Utility\CppSupport.cpp -> build\lib.win-amd64-3.9\Cython\Utility
running build_ext
building 'Cython.Plex.Scanners' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for cython
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\installer.py", line 126, in fetch_build_egg
subprocess.check_call(cmd)
File "C:\Users\Frank\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\users\\frank\\pycharmprojects\\python1\\venv\\scripts\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'w
heel', '--no-deps', '-w', 'C:\\Users\\Frank\\AppData\\Local\\Temp\\tmp9en8uo5g', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip
', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Frank\AppData\Local\Temp\pip-install-vr4dy_sq\kivy\setup.py", line 1073, in <module>
setup(
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\dist.py", line 673, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\pkg_resources\__init__.py", line 764, in resolve
dist = best[req.key] = env.best_match(
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\pkg_resources\__init__.py", line 1049, in best_match
return self.obtain(req, installer)
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\pkg_resources\__init__.py", line 1061, in obtain
return installer(requirement)
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\dist.py", line 732, in fetch_build_egg
return fetch_build_egg(self, req)
File "c:\users\frank\pycharmprojects\python1\venv\lib\site-packages\setuptools\installer.py", line 128, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['c:\\users\\frank\\pycharmprojects\\python1\\venv\\scripts\\python.exe', '-m', 'pip', '--disable-pip-version-check',
'wheel', '--no-deps', '-w', 'C:\\Users\\Frank\\AppData\\Local\\Temp\\tmp9en8uo5g', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.z
ip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Here are my experience with installing kivy:
Make sure you don't use python version 3.9
pip install kivy - does not work
create new project using Virtualenv and using python 3.7 (of course other versions can also work except 3.9)
then simply create requirements.txt file within root of your project if not yet exist and include kivy
Pycharm automatically asks if you want to install requirements.
Finally, verify
import kivy
print(kivy.__version__)
output:
C:\Users\lww\PycharmProjects\kivyproject\venv\Scripts\python.exe C:/Users/lww/PycharmProjects/kivyproject/ver.py
[INFO ] [Logger ] Record log in C:\Users\lww\.kivy\logs\kivy_20-11-14_47.txt
[INFO ] [Kivy ] v1.11.1
[INFO ] [Kivy ] Installed at "C:\Users\lww\PycharmProjects\kivyproject\venv\lib\site-packages\kivy\__init__.py"
[INFO ] [Python ] v3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Users\lww\PycharmProjects\kivyproject\venv\Scripts\python.exe"
Process finished with exit code 0
Related
I'm trying to install Scrapy in my Macbook M1 with macOS Ventura 13.0.1, but it is throwing an error while trying to install lxml.
Installing collected packages: lxml, jmespath, itemadapter, idna, filelock, cssselect, charset-normalizer, cffi, certifi, attrs, requests, parsel, hyperlink, cryptography, Automat, Twisted, service-identity, requests-file, pyOpenSSL, itemloaders, tldextract, scrapy
Running setup.py install for lxml ... error
error: subprocess-exited-with-error
× Running setup.py install for lxml did not run successfully.
│ exit code: 1
╰─> [115 lines of output]
Building lxml version 4.9.2.
Building without Cython.
Building against libxml2 2.9.13 and libxslt 1.1.35
running install
/Users/tomasazevedo/Documents/py_scripts/webscraping_test/env/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-39
creating build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/_elementpath.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/sax.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/builder.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/doctestcompare.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/usedoctest.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/cssselect.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/ElementInclude.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/soupparser.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/defs.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/clean.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/html5parser.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/formfill.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/builder.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
copying src/lxml/html/diff.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/html
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron
copying src/lxml/etree.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/etree_api.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/lxml.etree.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/lxml.etree_api.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/objectify.pyx -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/etree.pyx -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/public-api.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xmlid.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/cleanup.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xslt.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xpath.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/debug.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/serializer.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/classlookup.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/saxparser.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/objectpath.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/relaxng.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xinclude.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/iterparse.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/parser.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/dtd.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/apihelpers.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xmlerror.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/readonlytree.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/extensions.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xmlschema.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/schematron.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/docloader.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/nsclasses.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/parsertarget.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/xsltext.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/proxy.pxi -> build/lib.macosx-10.9-universal2-cpython-39/lxml
copying src/lxml/includes/xmlerror.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/c14n.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/xmlschema.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/__init__.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/schematron.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/tree.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/uri.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/etreepublic.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/xpath.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/htmlparser.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/xslt.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/config.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/xmlparser.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/xinclude.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/dtdvalid.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/relaxng.pxd -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/lxml-version.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
copying src/lxml/includes/etree_defs.h -> build/lib.macosx-10.9-universal2-cpython-39/lxml/includes
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/rng
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl
creating build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.macosx-10.9-universal2-cpython-39/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating build/temp.macosx-10.9-universal2-cpython-39
creating build/temp.macosx-10.9-universal2-cpython-39/src
creating build/temp.macosx-10.9-universal2-cpython-39/src/lxml
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc/lxml/includes -I/Users/tomasazevedo/Documents/py_scripts/webscraping_test/env/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c src/lxml/etree.c -o build/temp.macosx-10.9-universal2-cpython-39/src/lxml/etree.o -w -flat_namespace
src/lxml/etree.c:96:10: fatal error: 'Python.h' file not found
#include "Python.h"
^~~~~~~~~~
1 error generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
cc -I/usr/include/libxml2 -c /var/folders/zv/tjy58slj5mb96l_9g6x105r00000gn/T/xmlXPathInitbd2u4ada.c -o var/folders/zv/tjy58slj5mb96l_9g6x105r00000gn/T/xmlXPathInitbd2u4ada.o
cc var/folders/zv/tjy58slj5mb96l_9g6x105r00000gn/T/xmlXPathInitbd2u4ada.o -lxml2 -o a.out
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I've tried a bunch of things to try to install lxml on its own, but to no avail, the error is always the same.
I have the most recent Python version 3.9.6
Does anyone have any idea how to solve this?
Thanks in advance.
For some reason was able to install lxml and scrapy outside the virtual environment.
had the same issue in a venv using 3.9; upgraded to 3.10 and it resolved
I am having a nightmare of a time installing Pillow on my apple silicon. Everytime I attempt to install it, it throws a truly massive error which I have posted below. It says wheel is not installed but it is installed. It also says to refer to the Pillow page which I have done. I also installed homebrew and tried it that way. I really like this labtop and the m1 chip but if I need Pillow and python to work. Can anyone help me??
Collecting Pillow
Using cached Pillow-8.1.0.tar.gz (44.9 MB)
Using legacy 'setup.py install' for Pillow, since package 'wheel' is not installed.
Installing collected packages: Pillow
Running setup.py install for Pillow ... error
ERROR: Command errored out with exit status 1:
command: /Users/myname/PycharmProjects/WestCorp/venv2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py'"'"'; __file__='"'"'/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-record-6pvy22mf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/myname/PycharmProjects/WestCorp/venv2/include/site/python3.9/Pillow
cwd: /private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/
Complete output (174 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.9
creating build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageMode.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/TarIO.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/BdfFontFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageStat.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageColor.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ContainerIO.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/_version.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageQt.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageMath.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PaletteFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/FontFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PdfParser.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ExifTags.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageCms.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageChops.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PSDraw.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageFilter.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageDraw2.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImagePath.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/__init__.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/JpegPresets.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/features.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageDraw.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageWin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageMorph.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/WalImageFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PcfFontFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageTk.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageOps.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageShow.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageEnhance.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageGrab.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/TiffTags.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/_util.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/GdImageFile.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImagePalette.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageTransform.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageSequence.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PyAccess.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/_binary.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/Image.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/__main__.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/ImageFont.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.macosx-10.9-universal2-3.9/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 '.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 "/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py", line 865, in <module>
setup(
File "/Users/myname/PycharmProjects/WestCorp/venv2/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/myname/PycharmProjects/WestCorp/venv2/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/install.py", line 546, in run
self.run_command('build')
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/myname/PycharmProjects/WestCorp/venv2/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py", line 702, 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 "/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py", line 922, 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: /Users/myname/PycharmProjects/WestCorp/venv2/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py'"'"'; __file__='"'"'/private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-install-7aau8lns/pillow_2e71e6817697421fbee1ad980c7f610f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/rl/5f06x3b503j2g7rg4xq_3kzr0000gn/T/pip-record-6pvy22mf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/myname/PycharmProjects/WestCorp/venv2/include/site/python3.9/Pillow Check the logs for full command output.
Had the same issue on a M1 machine, running pip inside a VENV.
The solution appeared to be simple, I needed to upgrade pip*:
python3 -m pip install --upgrade pip
As is also recommended in Pillows officieel docs, see: https://pillow.readthedocs.io/en/stable/installation.html
Try these commands it will definitely work:-
(1) import sys
(2) !{sys.executable} -m pip install matplotlib
I'm not sure whether this works for you. try this.
Go to the Application folder -> Right-click on Terminal App ->
Get Info
Tick Open with Rosetta option.
try now.
This question already has answers here:
How to solve "error: Microsoft Visual C++ 14.0 or greater is required" when installing Python packages?
(9 answers)
Pip error even Microsoft Visual C++ 14.0 is installed
(4 answers)
Error while installing lxml through pip: Microsoft Visual C++ 14.0 is required
(8 answers)
Closed 2 years ago.
Can someone help me figure out what's the issue with this Pip install?
I am trying to install a friends code from Pip and use a password but I get this error during installation.
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\joeyb\\AppData\\Local\\Temp\\pip-install-dfw83vrd\\pycrypto_ae3a65b71de1411fb7e3c760e80c05c5\\setup.py'"'"'; __file__='"'"'C:\\Users\\joeyb\\AppData\\Local\\Temp\\pip-install-dfw83vrd\\pycrypto_ae3a65b71de1411fb7e3c760e80c05c5\\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\joeyb\AppData\Local\Temp\pip-record-tscitvfo\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\joeyb\AppData\Roaming\Python\Python38\Include\pycrypto'
cwd: C:\Users\joeyb\AppData\Local\Temp\pip-install-dfw83vrd\pycrypto_ae3a65b71de1411fb7e3c760e80c05c5\
Complete output (153 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\Crypto
copying lib\Crypto\pct_warnings.py -> build\lib.win-amd64-3.8\Crypto
copying lib\Crypto\__init__.py -> build\lib.win-amd64-3.8\Crypto
creating build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\hashalgo.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\HMAC.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\MD2.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\MD4.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\MD5.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\RIPEMD.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\SHA.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\SHA224.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\SHA256.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\SHA384.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\SHA512.py -> build\lib.win-amd64-3.8\Crypto\Hash
copying lib\Crypto\Hash\__init__.py -> build\lib.win-amd64-3.8\Crypto\Hash
creating build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\AES.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\ARC2.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\ARC4.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\blockalgo.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\Blowfish.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\CAST.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\DES.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\DES3.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_OAEP.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\PKCS1_v1_5.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\XOR.py -> build\lib.win-amd64-3.8\Crypto\Cipher
copying lib\Crypto\Cipher\__init__.py -> build\lib.win-amd64-3.8\Crypto\Cipher
creating build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\asn1.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\Counter.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\number.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\py3compat.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\randpool.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\RFC1751.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\winrandom.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\_number_new.py -> build\lib.win-amd64-3.8\Crypto\Util
copying lib\Crypto\Util\__init__.py -> build\lib.win-amd64-3.8\Crypto\Util
creating build\lib.win-amd64-3.8\Crypto\Random
copying lib\Crypto\Random\random.py -> build\lib.win-amd64-3.8\Crypto\Random
copying lib\Crypto\Random\_UserFriendlyRNG.py -> build\lib.win-amd64-3.8\Crypto\Random
copying lib\Crypto\Random\__init__.py -> build\lib.win-amd64-3.8\Crypto\Random
creating build\lib.win-amd64-3.8\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaAccumulator.py -> build\lib.win-amd64-3.8\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\FortunaGenerator.py -> build\lib.win-amd64-3.8\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\SHAd256.py -> build\lib.win-amd64-3.8\Crypto\Random\Fortuna
copying lib\Crypto\Random\Fortuna\__init__.py -> build\lib.win-amd64-3.8\Crypto\Random\Fortuna
creating build\lib.win-amd64-3.8\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\fallback.py -> build\lib.win-amd64-3.8\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\nt.py -> build\lib.win-amd64-3.8\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\posix.py -> build\lib.win-amd64-3.8\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\rng_base.py -> build\lib.win-amd64-3.8\Crypto\Random\OSRNG
copying lib\Crypto\Random\OSRNG\__init__.py -> build\lib.win-amd64-3.8\Crypto\Random\OSRNG
creating build\lib.win-amd64-3.8\Crypto\SelfTest
copying lib\Crypto\SelfTest\st_common.py -> build\lib.win-amd64-3.8\Crypto\SelfTest
copying lib\Crypto\SelfTest\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\common.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_AES.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC2.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_ARC4.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_Blowfish.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_CAST.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_DES3.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_15.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_pkcs1_oaep.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\test_XOR.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
copying lib\Crypto\SelfTest\Cipher\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Cipher
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\common.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_HMAC.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD2.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD4.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_MD5.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_RIPEMD.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA224.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA256.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA384.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\test_SHA512.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
copying lib\Crypto\SelfTest\Hash\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Hash
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_AllOrNothing.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_chaffing.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_KDF.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\test_rfc1751.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
copying lib\Crypto\SelfTest\Protocol\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Protocol
creating build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_DSA.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_ElGamal.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_importKey.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\test_RSA.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
copying lib\Crypto\SelfTest\PublicKey\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\PublicKey
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_random.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test_rpoolcompat.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\test__UserFriendlyRNG.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random
copying lib\Crypto\SelfTest\Random\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaAccumulator.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_FortunaGenerator.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\test_SHAd256.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\Fortuna
copying lib\Crypto\SelfTest\Random\Fortuna\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\Fortuna
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_fallback.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_generic.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_nt.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_posix.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\test_winrandom.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
copying lib\Crypto\SelfTest\Random\OSRNG\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Random\OSRNG
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_asn1.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_Counter.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_number.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\test_winrandom.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Util
copying lib\Crypto\SelfTest\Util\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Util
creating build\lib.win-amd64-3.8\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_15.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\test_pkcs1_pss.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Signature
copying lib\Crypto\SelfTest\Signature\__init__.py -> build\lib.win-amd64-3.8\Crypto\SelfTest\Signature
creating build\lib.win-amd64-3.8\Crypto\Protocol
copying lib\Crypto\Protocol\AllOrNothing.py -> build\lib.win-amd64-3.8\Crypto\Protocol
copying lib\Crypto\Protocol\Chaffing.py -> build\lib.win-amd64-3.8\Crypto\Protocol
copying lib\Crypto\Protocol\KDF.py -> build\lib.win-amd64-3.8\Crypto\Protocol
copying lib\Crypto\Protocol\__init__.py -> build\lib.win-amd64-3.8\Crypto\Protocol
creating build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\DSA.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\ElGamal.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\pubkey.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\RSA.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\_DSA.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\_RSA.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\_slowmath.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
copying lib\Crypto\PublicKey\__init__.py -> build\lib.win-amd64-3.8\Crypto\PublicKey
creating build\lib.win-amd64-3.8\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_PSS.py -> build\lib.win-amd64-3.8\Crypto\Signature
copying lib\Crypto\Signature\PKCS1_v1_5.py -> build\lib.win-amd64-3.8\Crypto\Signature
copying lib\Crypto\Signature\__init__.py -> build\lib.win-amd64-3.8\Crypto\Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\joeyb\\AppData\\Local\\Temp\\pip-install-dfw83vrd\\pycrypto_ae3a65b71de1411fb7e3c760e80c05c5\\setup.py'"'"'; __file__='"'"'C:\\Users\\joeyb\\AppData\\Local\\Temp\\pip-install-dfw83vrd\\pycrypto_ae3a65b71de1411fb7e3c760e80c05c5\\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\joeyb\AppData\Local\Temp\pip-record-tscitvfo\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\joeyb\AppData\Roaming\Python\Python38\Include\pycrypto' Check the logs for full command output.
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
So, you need to install Microsoft Visual C++ 14.0 and pip already gived a URL where you can do it.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LENOVO YOGA\\AppData\\Local\\Temp\\pip-install-78_a5546\\kivy\\setup.py'"'"'; __file__='"'"'C:\\Users\\LENOVO YOGA\\AppData\\Local\\Temp\\pip-install-78_a5546\\kivy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\LENOVO YOGA\AppData\Local\Temp\pip-pip-egg-info-t3zgxbq2'
cwd: C:\Users\LENOVO YOGA\AppData\Local\Temp\pip-install-78_a5546\kivy\
Complete output (388 lines):
ERROR: Command errored out with exit status 1:
command: 'C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LENOVO YOGA\\AppData\\Local\\Temp\\pip-wheel-4uht95r0\\cython\\setup.py'"'"'; __file__='"'"'C:\\Users\\LENOVO YOGA\\AppData\\Local\\Temp\\pip-wheel-4uht95r0\\cython\\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 'C:\Users\LENOVO YOGA\AppData\Local\Temp\pip-wheel-o7vvpx89'
cwd: C:\Users\LENOVO YOGA\AppData\Local\Temp\pip-wheel-4uht95r0\cython\
Complete output (321 lines):
Unable to find pgen, not compiling formal grammar.
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
copying cython.py -> build\lib.win32-3.8
creating build\lib.win32-3.8\Cython
copying Cython\CodeWriter.py -> build\lib.win32-3.8\Cython
copying Cython\Coverage.py -> build\lib.win32-3.8\Cython
copying Cython\Debugging.py -> build\lib.win32-3.8\Cython
copying Cython\Shadow.py -> build\lib.win32-3.8\Cython
copying Cython\StringIOTree.py -> build\lib.win32-3.8\Cython
copying Cython\TestUtils.py -> build\lib.win32-3.8\Cython
copying Cython\Includes\openmp.pxd -> build\lib.win32-3.8\Cython\Includes
creating build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\array.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\bool.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\buffer.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\bytearray.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\bytes.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\ceval.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\cobject.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\complex.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\datetime.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\dict.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\exc.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\float.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\function.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\getargs.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\instance.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\int.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\iterator.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\list.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\long.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\longintrepr.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\mapping.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\mem.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\method.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\module.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\number.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\object.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\oldbuffer.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\pycapsule.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\pylifecycle.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\pystate.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\pythread.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\ref.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\sequence.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\set.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\slice.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\string.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\tuple.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\type.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\unicode.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\version.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\weakref.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
copying Cython\Includes\cpython\__init__.pxd -> build\lib.win32-3.8\Cython\Includes\cpython
creating build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_bool.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_buffer.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_bytes.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_cobject.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_complex.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_dict.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_exc.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_float.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_function.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_getargs.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_instance.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_int.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_iterator.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_list.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_long.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_mapping.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_mem.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_method.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_module.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_number.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_object.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_oldbuffer.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_pycapsule.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_ref.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_sequence.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_set.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_string.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_tuple.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_type.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_unicode.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_version.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\python_weakref.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stdio.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stdlib.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
copying Cython\Includes\Deprecated\stl.pxd -> build\lib.win32-3.8\Cython\Includes\Deprecated
creating build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\errno.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\float.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\limits.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\locale.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\math.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\setjmp.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\signal.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\stddef.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\stdint.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\stdio.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\stdlib.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\string.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\time.pxd -> build\lib.win32-3.8\Cython\Includes\libc
copying Cython\Includes\libc\__init__.pxd -> build\lib.win32-3.8\Cython\Includes\libc
creating build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\algorithm.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\cast.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\complex.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\deque.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\forward_list.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\functional.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\iterator.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\limits.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\list.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\map.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\memory.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\pair.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\queue.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\set.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\stack.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\string.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\typeindex.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\typeinfo.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\unordered_map.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\unordered_set.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\utility.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\vector.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
copying Cython\Includes\libcpp\__init__.pxd -> build\lib.win32-3.8\Cython\Includes\libcpp
creating build\lib.win32-3.8\Cython\Includes\numpy
copying Cython\Includes\numpy\math.pxd -> build\lib.win32-3.8\Cython\Includes\numpy
copying Cython\Includes\numpy\__init__.pxd -> build\lib.win32-3.8\Cython\Includes\numpy
creating build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\dlfcn.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\fcntl.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\ioctl.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\mman.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\resource.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\select.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\signal.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\stat.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\stdio.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\stdlib.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\strings.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\time.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\types.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\unistd.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\wait.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Includes\posix\__init__.pxd -> build\lib.win32-3.8\Cython\Includes\posix
copying Cython\Compiler\Code.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Compiler\FlowControl.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Compiler\ParseTreeTransforms.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Compiler\Parsing.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Compiler\Scanning.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Compiler\Visitor.pxd -> build\lib.win32-3.8\Cython\Compiler
copying Cython\Runtime\refnanny.pyx -> build\lib.win32-3.8\Cython\Runtime
copying Cython\Debugger\Tests\codefile -> build\lib.win32-3.8\Cython\Debugger\Tests
copying Cython\Debugger\Tests\cfuncs.c -> build\lib.win32-3.8\Cython\Debugger\Tests
copying Cython\Plex\Actions.pxd -> build\lib.win32-3.8\Cython\Plex
copying Cython\Plex\Scanners.pxd -> build\lib.win32-3.8\Cython\Plex
copying Cython\Utility\CConvert.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CpdefEnums.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CppConvert.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\MemoryView.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\TestCythonScope.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\TestCyUtilityLoader.pyx -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\AsyncGen.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Buffer.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Builtins.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Capsule.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CMath.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CommonStructures.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Complex.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Coroutine.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CythonFunction.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Embed.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Exceptions.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\ExtensionTypes.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\FunctionArguments.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\ImportExport.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\MemoryView_C.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\ModuleSetupCode.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\ObjectHandling.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Optimize.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Overflow.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Printing.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\Profile.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\StringTools.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\TestUtilityLoader.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\TypeConversion.c -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\arrayarray.h -> build\lib.win32-3.8\Cython\Utility
copying Cython\Utility\CppSupport.cpp -> build\lib.win32-3.8\Cython\Utility
running build_ext
building 'Cython.Plex.Scanners' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for cython
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\installer.py", line 128, in fetch_build_egg
subprocess.check_call(cmd)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\LENOVO YOGA\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\LENOVO~1\\AppData\\Local\\Temp\\tmp903ly__7', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\LENOVO YOGA\AppData\Local\Temp\pip-install-78_a5546\kivy\setup.py", line 1073, in <module>
setup(
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\__init__.py", line 143, in setup
_install_setup_requires(attrs)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\__init__.py", line 138, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\dist.py", line 695, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pkg_resources\__init__.py", line 781, in resolve
dist = best[req.key] = env.best_match(
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pkg_resources\__init__.py", line 1066, in best_match
return self.obtain(req, installer)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pkg_resources\__init__.py", line 1078, in obtain
return installer(requirement)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\dist.py", line 754, in fetch_build_egg
return fetch_build_egg(self, req)
File "C:\Users\LENOVO YOGA\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools\installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['C:\\Users\\LENOVO YOGA\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\\Users\\LENOVO~1\\AppData\\Local\\Temp\\tmp903ly__7', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 3221225595)
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 3221225595)
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 3221225595)
ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Here, Problem is after installing Kivy through this kivy Is not installed it just shows that your requirements are fullfilled by that command but it still won't Install Kivy... it's fulfilling temporary Requirement at the time of call of command.
If you use command "kivy --version" you can check kivy is installed or not.
so tell me how to install kivy fully.
According to error, you need to install Microsoft Visual C++ 14.0 is required
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual
After installing Microsoft Visual C++ 14.0, run the below command:
pip install -U steem
Run this command if above command doesn't work
pip install --upgrade setuptools
OR
pip wheel setuptools
I try to run script for my TFT screen. When I start it within environment IT WORKS. So script is fine. When I start it outside environment I get:
./test
Traceback (most recent call last):
File "./test", line 5, in <module>
from PIL import Image
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: cannot import name _imaging
i started to think that I have wrong version of PIL or Pillow, but both are uninstalled. pip show shows empty result for both.
When I want to install pip install pillow I get few screens of logs and errors (unlike other installed packages).
sudo pip install pillow
Collecting pillow
Using cached https://files.pythonhosted.org/packages/89/b8/2f49bf71cbd0e9485bb36f72d438421b69b7356180695ae10bd4fd3066f5/Pillow-5.1.0.tar.gz
Building wheels for collected packages: pillow
Running setup.py bdist_wheel for pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gMbMIp/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/tmpxj0jEHpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/OleFileIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
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 "<string>", line 1, in <module>
File "/tmp/pip-build-gMbMIp/pillow/setup.py", line 806, 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
----------------------------------------
Failed building wheel for pillow
Running setup.py clean for pillow
Failed to build pillow
Installing collected packages: pillow
Running setup.py install for pillow ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gMbMIp/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-FLskBf-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/OleFileIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
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 "<string>", line 1, in <module>
File "/tmp/pip-build-gMbMIp/pillow/setup.py", line 806, 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
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gMbMIp/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-FLskBf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-gMbMIp/pillow/
Possible solutions include (I believe):
Force a script run from command line to run in environment (but what to put in the very first line of the script?)
Force python outside environment to use environment packages so I do not have to double them (but how?)
Solve the pip install pillow riddle
Thank you in advance