I try various fixes (PYTHONPATH etc.), but none as yet have worked. OK, I search on the web, and it seems (not sure) to be a problem because sys.path does not contain the path which the program needs to see exiftool. Raise child_exception_type(errno_num, err_msg, err_filename)įileNotFoundError: No such file or directory: 'exiftool' Self._execute_child(args, executable, preexec_fn, close_fds,įile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/subprocess.py", line 1702, in _execute_child (this is not the code bit I want to use, since it lacks the image file name, but it should run anyway no? and it seems to be the simplest to explain my problem)įile "/Users/abo/Documents/test3.py", line 5, in įile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/subprocess.py", line 854, in _init_ I use subprocess.call, n, subprocess.Popen, e.g. But - I need to call it from my Python program. I install exiftool and use it on a command line and am impressed by the amount of data it has. Much seems to be tied up in a field called MakerNote, which comes out as coded gibberish. I succeed with Pillow (from PIL import Image,ExifTags) using a standard piece of code, but it lacks a lot of metadata. I'm a newbie, so please excuse my grammar.Īnyway, I'm writing a program in Python3.8 which wants to extract exif data from mostly Canon cameras. Exiftool is amazing! (wanted to say that first)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |