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

Can't locate Image/ExifTool/ISO.pm in @INC #133

Open
mbaigorria opened this issue Dec 26, 2020 · 4 comments
Open

Can't locate Image/ExifTool/ISO.pm in @INC #133

mbaigorria opened this issue Dec 26, 2020 · 4 comments

Comments

@mbaigorria
Copy link

mbaigorria commented Dec 26, 2020

When running on MacOS with Python 3.7.6, I get the following error:

git clone [email protected]:andrewning/sortphotos.git
cd sortphotos
python3 setup.py install
cd src
python3 sortphotos.py source_dir dest_dir -r -s --rename %Y-%m-%d-%H:%M
Can't locate Image/ExifTool/ISO.pm in @INC (you may need to install the Image::ExifTool::ISO module) (@INC contains: /Volumes/Elements/Files/sortphotos/src/Image-ExifTool/lib /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /Volumes/Elements/Files/sortphotos/src/Image-ExifTool/lib/Image/ExifTool.pm line 2387.

Reverting the ExifTool directory to b847a326c3bc8fb2ef7e79edcc01a9e25fb3b15a fixes the problem, guess the update might've broken it.

@taltman
Copy link

taltman commented Jan 4, 2021

Had the same issue on FreeBSD & Mac OS. Manually putting the PM from the following location into the lib/ directory fixed the issue for me:

https://metacpan.org/pod/Image::ExifTool::ISO

@garymm
Copy link

garymm commented Jan 23, 2021

This seems to be fixed by #123

@hex0cter
Copy link

This worked for me:

cd src/Image-ExifTool/lib/Image/ExifTool 
curl --output ISO.pm  https://fastapi.metacpan.org/source/EXIFTOOL/Image-ExifTool-12.42/lib/Image/ExifTool/ISO.pm

@nicolas-raoul
Copy link

I confirm that pull request #123 fixes the issue (git pull [email protected]:vulnerabivoro/sortphotos.git master then build normally python3 setup.py install).

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

5 participants