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: invalid syntax' error with python3.7 #184

Closed
JV-X opened this issue Apr 10, 2019 · 5 comments
Closed

'SyntaxError: invalid syntax' error with python3.7 #184

JV-X opened this issue Apr 10, 2019 · 5 comments

Comments

@JV-X
Copy link

JV-X commented Apr 10, 2019

i clone code to my mac and try start by README.md, but when i run command
python3 manage.py recreate_db
this issues appear:

Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from rq import Connection, Queue, Worker
  File "/usr/local/lib/python3.7/site-packages/rq/__init__.py", line 9, in <module>
    from .queue import get_failed_queue, Queue
  File "/usr/local/lib/python3.7/site-packages/rq/queue.py", line 58
    async=True, job_class=None):
        ^
SyntaxError: invalid syntax

OS: MacOS Mojave 10.14.2
Python Version: 3.7

@scollar71
Copy link

scollar71 commented Apr 10, 2019

rq 0.7.1 not compatible with py 3.7 currently 1.0 update requirements.txt to reflect

@JV-X
Copy link
Author

JV-X commented Apr 18, 2019

thank you for your effort

@songpon
Copy link

songpon commented Jul 21, 2019

Hi I faced the same problem with MAC python 3.7.3
please use this
pip install https://github.com/rq/rq/archive/v1.1.0.tar.gz

@nk9
Copy link
Contributor

nk9 commented Aug 16, 2019

Just to be clear, the solution to this error is:

pip install --upgrade rq
pip freeze --local > requirements.txt

This was referenced Sep 2, 2019
@abhisuri97
Copy link
Contributor

Should be fixed due to PR #193. closing.

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

5 participants