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

Error accessing pyshopee in Python 2.7.12 #26

Open
ppts-odoo opened this issue Dec 3, 2019 · 1 comment
Open

Error accessing pyshopee in Python 2.7.12 #26

ppts-odoo opened this issue Dec 3, 2019 · 1 comment

Comments

@ppts-odoo
Copy link

I have installed pyshopee in my machine. It has installed successfully without any error.
While import the pyshopee, Im getting below error.

Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import pyshopee
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/pyshopee/init.py", line 3, in
from .client import Client
File "/usr/local/lib/python2.7/dist-packages/pyshopee/client.py", line 40
class Client(object, metaclass=ClientMeta):
^
SyntaxError: invalid syntax

@JimCurryWang
Copy link
Owner

Hi @ppts-odoo ,

Pyshopee can only be run on Python3 right now, however, I am willing to receive any PR for the Python2 version.

Thanks

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

No branches or pull requests

2 participants