我为 Python3 尝试了一些 exif/iptc/xmp 库,但它们既不成熟也不成熟。
- exifread 只能读取exif信息
- iptcinfo3 未正确移植到 Python3
因此,我尝试在 Windows 7/10 上使用py3exiv2 。
但是,我既没有找到py3exiv2的Windows 轮pip install py3exiv2
,也没有在 Windows 上开箱即用。似乎有 C++ 绑定,必须在 pip 安装期间进行编译。
我安装了Microsoft Visual C++ 14.0 standalone: Build Tools for Visual Studio 2017
,但仍然因缺少文件而pip install py3exiv2
失败。
我假设,缺少更多依赖项......但我不知道如何将它添加到 pip 安装或手动修复它。exiv2/image.hpp
所以我想问一下,如果你能给我一些提示,如何在 Windows 上正确设置和安装 py3exiv2?