crypto-trader icon indicating copy to clipboard operation
crypto-trader copied to clipboard

syntax error

Open jimmyok opened this issue 7 years ago • 1 comments

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

jimmyok avatar Jan 19 '18 22:01 jimmyok

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.

jerthom avatar Jan 31 '18 21:01 jerthom