Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

syntax error #6

Open
jimmyok opened this issue Jan 19, 2018 · 1 comment
Open

syntax error #6

jimmyok opened this issue Jan 19, 2018 · 1 comment

Comments

@jimmyok
Copy link

jimmyok commented Jan 19, 2018

Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.

import gemini_api as api
Traceback (most recent call last):
File "", line 1, in
File "/home/jimmyok/bot/crypto-trader/gemini_api.py", line 47
print(f'Rate limit exceeded! Retrying in 10 seconds...')
^
SyntaxError: invalid syntax

@jerthom
Copy link

jerthom commented Jan 31, 2018

This seems to be a user error, not an issue. Python f strings were introduced in 3.6 and you're saying that you're using 3.4.2. The developer info section of the readme states "This library is built on Python 3.6". Try upgrading to 3.6 and running again.

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

No branches or pull requests

2 participants