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 in python2.7 #11

Closed
diego-mazon opened this issue Oct 24, 2018 · 5 comments
Closed

SyntaxError in python2.7 #11

diego-mazon opened this issue Oct 24, 2018 · 5 comments
Milestone

Comments

@diego-mazon
Copy link

Syntax error in python2.7 (it does work python3). If rfpimp is not supposed to work in 2.7, you might want to consider mentioning it in the README

import rfpimp

File "/Users/diegomazon/anaconda/lib/python2.7/site-packages/rfpimp.py", line 40
self.svgfilename = f"{tmp}/PimpViz_{getpid()}.svg"
^
SyntaxError: invalid syntax

@parrt
Copy link
Owner

parrt commented Oct 24, 2018

oh good point! Forgot to check that.

@sand9888
Copy link

do I understand correctly that rfpimp works python 3.6 and above only?
f"{tmp}/PimpViz_{getpid()}.svg" - looks like this type of string formatting is not actual for python 3.5

@parrt
Copy link
Owner

parrt commented Jan 31, 2019

oh wow. even 3.5 doesn't have? maybe i'll just fix those and see if i can downgrade.

@PanditPranav
Copy link

I have the same issue with both Python 2.7 and 3.5. Should I upgrade to 3.6?

@parrt
Copy link
Owner

parrt commented Feb 5, 2019

for now, yep

@parrt parrt closed this as completed in 4837601 Feb 13, 2019
@parrt parrt added this to the 1.3.2 milestone Feb 13, 2019
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

4 participants