From 9d3b8be9130ef42c1a625de54b8d09bb04ec332b Mon Sep 17 00:00:00 2001 From: leohsiao Date: Sat, 27 Jan 2024 20:33:36 +0800 Subject: [PATCH] [doc] install inih on MacOS --- docs/Tutorial-cn.md | 6 ++++++ docs/Tutorial.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/Tutorial-cn.md b/docs/Tutorial-cn.md index b0cddb6..fe9d7ea 100644 --- a/docs/Tutorial-cn.md +++ b/docs/Tutorial-cn.md @@ -38,6 +38,12 @@ ``` - 这是因为 libintl.8.dylib 不存在。你需要执行 `brew install gettext` 。 +- 在 MacOS 上使用 pyexiv2 时,你可能遇到以下异常: + ```py + Library not loaded: '/usr/local/opt/inih/lib/libinih.0.dylib' + ``` + - 这是因为 libinih.0.dylib 不存在。你需要执行 `brew install inih` 。 + - 在 Windows 上使用 pyexiv2 时,你可能遇到以下异常: ```py >>> import pyexiv2 diff --git a/docs/Tutorial.md b/docs/Tutorial.md index 5176fad..96a6b84 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -38,6 +38,12 @@ Language: [English](./Tutorial.md) | [中文](./Tutorial-cn.md) ``` - This is because libintl.8.dylib is missing. You need to execute `brew install gettext` . +- When using pyexiv2 on MacOS, you may encounter the following exception: + ```py + Library not loaded: '/usr/local/opt/inih/lib/libinih.0.dylib' + ``` + - This is because libinih.0.dylib is missing. You need to execute `brew install inih` . +1 - When using pyexiv2 on Windows, you may encounter the following exception: ```py >>> import pyexiv2