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 I receieved #15

Open
ameet-rao opened this issue Jul 4, 2023 · 3 comments
Open

Error I receieved #15

ameet-rao opened this issue Jul 4, 2023 · 3 comments

Comments

@ameet-rao
Copy link

Traceback (most recent call last):
File "src/gmail_server.py", line 7, in
import sms_api
File "/Users/ameet9034/ChatGPT-Mobile/src/sms_api.py", line 2, in
from log import AppLogger
File "/Users/ameet9034/ChatGPT-Mobile/src/log.py", line 19
match type.lower():
^
SyntaxError: invalid syntax

@slxmmy999
Copy link
Owner

I believe this is most likely an issue with the version of Python you are using. Support for match/case statements was added somewhat recently in Python version 3.10 so you must be using this version or higher. Please let me know if this solves your issue and I will make a note to add this to the README.

@admirerr
Copy link

@slxmmy999 I am also facing similar issue though I am using Python 3.9.12

image

@admirerr
Copy link

@slxmmy999 I am also facing similar issue though I am using Python 3.9.12

image

I upgraded version of Python to 3.11 and now it's working fine.

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

3 participants