Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path to exiftool #98

Open
aalonsop opened this issue Jul 9, 2024 · 1 comment
Open

path to exiftool #98

aalonsop opened this issue Jul 9, 2024 · 1 comment

Comments

@aalonsop
Copy link

aalonsop commented Jul 9, 2024

Hello

Great work on this tool, many thanks!

I'm using MacOS M2 Max (Sonoma 14.5 (23F79)) and I installed fliroy via pip within a conda environment. I previously installed Exiftool as indicated here and the installation worked fine as I could execute the tool from the terminal. I also modified my PATH (export PATH=$PATH:/usr/local/bin).
However, when I tried to use the spli_seq script provided I would get the following warning :

WARNING:flirpy.util.exiftool:Exiftool not installed, try: apt install exiftool

and the following error :

AttributeError: 'Exiftool' object has no attribute 'path'

Something that worked for me is to correct the path in the lines 20-21 of the file : /flirpy/util/exiftool.py

The correction in my case is :

elif platform.uname()[4].startswith("arm"):
                if os.path.isfile("/usr/local/bin/exiftool"):
                    self.path = "/usr/local/bin/exiftool"
@jveitchmichaelis
Copy link
Contributor

jveitchmichaelis commented Jul 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants