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

error while installing pyexiv2 #27

Closed arhackbom closed 4 years ago

arhackbom commented 4 years ago

Collecting pyexiv2 Using cached pyexiv2-2.3.1.tar.gz (4.0 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-Osypvi/pyexiv2/setup.py'"'"'; file='"'"'/tmp/pip-install-Osypvi/pyexiv2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-XnkqaZ
cwd: /tmp/pip-install-Osypvi/pyexiv2/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-Osypvi/pyexiv2/setup.py", line 4, in with open('README.md', encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function


ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

LeoHsiao1 commented 4 years ago

Are you using python2? pyexiv2 only supports python3.5 or above.

arhackbom commented 4 years ago

ok noted. thx.

github-actions[bot] commented 3 years ago

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