Python 3.73 cannot install py3exiv2
Ken Martell <darkneskies at gmail.com> writes:
> D:\>pip3 install py3exiv2
> Collecting py3exiv2
> ??? C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Id:\apps\python37\include -Id:\apps\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpsrc/exiv2wrapper.cpp /Fobuild\temp.win-amd64-3.7\Release\src/exiv2wrapper.obj -g
> c:\users\ken\appdata\local\temp\pip-install-swqqye4_\py3exiv2\src\exiv2wrapper.hpp(32): fatal error C1083: Cannot open include file: 'exiv2/image.hpp': No such file or directory
"pip" (and "pip3") is a tool to install Python extensions.
It does quite a good job for "pure Python" extensions.
But, some extensions are not "pure Python" but rely on
"external" C/C++ libraries. Those must be installed
in your system -- typically in a development variant
(i.e. together with header files describing the interfaces) --
before "pip" can successfully install the Python extension.
Apparently, this is your case. The external C/C++ library
is likely named "exiv2". You must install it before "pip"
can install "py3exiv2".
If you are lucky, then "py3exiv2" comes with installation instructions
which tell you where and how to obtain the dependent libraries.
Otherwise, you would need other ways to get the necessary information --
maybe search the internet.