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

Syntax error in dexbot/ui.py #656

Closed
pigloo opened this issue Aug 19, 2019 · 4 comments
Closed

Syntax error in dexbot/ui.py #656

pigloo opened this issue Aug 19, 2019 · 4 comments
Assignees

Comments

@pigloo
Copy link

pigloo commented Aug 19, 2019

click.echo(f"Checking for nearest nodes with timeout < {timeout} sec....")
                                                                            ^
SyntaxError: invalid syntax
@PermieBTS
Copy link
Collaborator

Could you describe what you tried to do when you got this error?

And ideally post a log file?

@joelvai
Copy link
Collaborator

joelvai commented Aug 20, 2019

What python version are you running?

@thehapax
Copy link
Collaborator

this error typically happens when trying to use a lower version of python. f-strings is in python 3.6 or higher. For running dexbot we recommend at least 3.6.7+ If you get this error its likely the version of python is below 3.6

@pigloo
Copy link
Author

pigloo commented Aug 20, 2019

This error occurred when installing on a Raspberry Pi using the instructions here: https://github.com/Codaone/DEXBot/wiki/Setup-guide-for-Raspberry-Pi

I was able to continue the installation by removing the 'f' infront of the string

next time i will try upgrading python

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

No branches or pull requests

5 participants