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

SyntaxError: Missing parentheses in call to 'print' #22

Open
belidzs opened this issue Dec 27, 2015 · 5 comments
Open

SyntaxError: Missing parentheses in call to 'print' #22

belidzs opened this issue Dec 27, 2015 · 5 comments

Comments

@belidzs
Copy link

belidzs commented Dec 27, 2015

I'm using Windows 10 with Python 3.5.1.

  1. Installed pexif 0.15 with pip
  2. Installation completed without problems
  3. Started a console window
  4. Executed import pexif
  5. Received the following exception:
Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pexif
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Balazs\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pexif.py", line 125
    print each,
             ^
SyntaxError: Missing parentheses in call to 'print'
>>>
@socketpair
Copy link

Even if that will be fixed, pexif DOES NOT SUPPOR Python3 actually. For example, it uses StringIO instead of BytesIO. Seems it is abandoned project.

@bennoleslie
Copy link
Owner

Python 3 is not supported. Forks or pull requests welcome.

@marcelometal
Copy link
Contributor

marcelometal commented Sep 16, 2017

Hi, I'm working to fix it:
https://github.com/marcelometal/pexif/

@TheSandDoctor
Copy link

@marcelometal Using your fork I keep getting the following:

primary = ef.get_exif().get_primary()
AttributeError: 'NoneType' object has no attribute 'get_primary'

@marcelometal
Copy link
Contributor

marcelometal commented Mar 25, 2019

@TheSandDoctor hi!

pexifwas abandoned, so I've replaced it with piexif =P

https://pypi.org/project/piexif/

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

No branches or pull requests

5 participants