# AIO package default 'PATH'

**URL:** <https://gramps.discourse.group/t/aio-package-default-path/3091>\
**Category:** Development\
**Tags:** third-party-addon, metadata\
**Created:** [December 19, 2022, 9:51pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091 "2022-12-19T21:51:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![metadata](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@metadata](https://gramps.discourse.group/u/metadata)\
**Post date:** [December 19, 2022, 9:51pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/1 "2022-12-19T21:51:39Z")

</div>

After finding that I was unable to modify my add-on to display the image metadata using Exiftool, I contacted one of the developers who built a Python interface and his comments at [Exiftool location · Issue #62 · sylikc/pyexiftool · GitHub](https://github.com/sylikc/pyexiftool/issues/62#issuecomment-1356232043) , as I understand them, imply that if I could manually copy the necessary executable (and its supporting data) one might be able to still use that plug-in.

Question: is there such an equivalent place or local variable which could be tweaked so that Exiftool and its support data could located?

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [December 19, 2022, 10:45pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/2 "2022-12-19T22:45:06Z")

</div>

### **emyoulation** commented [Dec 19, 2022](https://github.com/sylikc/pyexiftool/issues/62#issuecomment-1358504337) •

[@tester0077](https://github.com/tester0077)  
The [Command Line](https://gramps-project.org/wiki/index.php/Gramps_6.0_Wiki_Manual_-_Command_Line) Interface [“version” options](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Command_Line#Version_options) for the Gramps executable will list paths for your installation. The text-based list includes Python and the OS environment variables.

like:

```python
 PYTHONPATH:
    /usr/lib/python3/dist-packages/gramps
    /usr/bin
    /usr/lib/python37.zip
    /usr/lib/python3.7
    /usr/lib/python3.7/lib-dynload
    /usr/local/lib/python3.7/dist-packages
    /usr/lib/python3/dist-packages

```

---

<div class="post-metadata">

**Author:** ![metadata](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@metadata](https://gramps.discourse.group/u/metadata)\
**Post date:** [December 19, 2022, 11:12pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/3 "2022-12-19T23:12:37Z")

</div>

see my reply at: [Exiftool location · Issue #62 · sylikc/pyexiftool · GitHub](https://github.com/sylikc/pyexiftool/issues/62)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [December 20, 2022, 12:04am UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/4 "2022-12-20T00:04:06Z")

</div>

Have you looked at this EXIF section of the [gramps/plugins/lib/libmetadata.py](https://github.com/gramps-project/gramps/blob/1b28691557cbbf8228169caef1e21f567fcf29c5/gramps/plugins/lib/libmetadata.py#L106) in the 5.2 version?

---

<div class="post-metadata">

**Author:** ![metadata](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@metadata](https://gramps.discourse.group/u/metadata)\
**Post date:** [December 20, 2022, 2:05am UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/5 "2022-12-20T02:05:02Z")

</div>

I have in the past, though I am not sure what you think I would find.

The interface to the Exiv2 library is part of the base Gramps code, as I understand things and that would include code to support the Exiv2 library, but I have not thoroughly tracked down just how this code is prepared for Gramps.  
I currently have way too many irons in the fire to try and also look into this issue.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [December 20, 2022, 1:11pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/6 "2022-12-20T13:11:56Z")

</div>

What is the content of this directory in your PYTHONPATH: C:/building/msys64/mingw64 ?

(I’m looking too for a way to be able to use external python libraries, and for instance I can’t find it)

---

<div class="post-metadata">

**Author:** ![metadata](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@metadata](https://gramps.discourse.group/u/metadata)\
**Post date:** [December 20, 2022, 4:36pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/7 "2022-12-20T16:36:49Z")

</div>

Since I don’t have msys or ming installed, that path is meaningless on my PC - I am assuming you’re referring to a Win installation?  
Though I suspect that having either installed would not help with the problem of grafting in external libraries or applications

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [January 19, 2023, 4:37pm UTC](https://gramps.discourse.group/t/aio-package-default-path/3091/8 "2023-01-19T16:37:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
