Skip to content

Getting Print statement error in apicontrollersbase.py Python 2 print in Python 3 Lib? #39

Closed
@rydogjones

Description

@rydogjones

Hi,

Just trying this library and installed on Python35-32, when I run sample I get this error stack:
Am I using a wrong version?
Ryan

Traceback (most recent call last):
File "testauth.py", line 5, in
from authorizenet.apicontrollers import *
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 634, in _load_backward_compatible
File "D:\Python35-32\lib\site-packages\authorizenet-1.0.9-py3.5.egg\authorizen
et\apicontrollers.py", line 9, in
File "", line 969, in _find_and_load
File "", line 954, in _find_and_load_unlocked
File "", line 896, in _find_spec
File "", line 1136, in find_spec
File "", line 1112, in _get_spec
File "", line 1093, in _legacy_get_spec
File "", line 444, in spec_from_loader
File "", line 530, in spec_from_file_loc
ation
File "D:\Python35-32\lib\site-packages\authorizenet-1.0.9-py3.5.egg\authorizen
et\apicontrollersbase.py", line 147
print "Response error"
^
SyntaxError: Missing parentheses in call to 'print'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions