LeoHsiao1 / pyexiv2

Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
GNU General Public License v3.0
201 stars 39 forks source link

[WinError 193] %1 is not a valid Win32 application #6

Closed hoa32811 closed 4 years ago

hoa32811 commented 4 years ago

When i run "from pyexiv2 import Image" command, python throw an exception:

File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyexiv2__init__.py", line 7, in from .core import Image File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyexiv2\core.py", line 22, in ctypes.CDLL(os.path.join(dll_dir, "exiv2.dll")) File "C:\Users\USER\AppData\Local\Programs\Python\Python38-32\lib\ctypes__init.py", line 369, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 is not a valid Win32 application

LeoHsiao1 commented 4 years ago

This is because you are not using a 64-bit python interpreter.

LeoHsiao1 commented 4 years ago

Have you solved your problem? I'm going to close this issue.

github-actions[bot] commented 3 years ago

This issue has been automatically closed because there has been no activity for a month.