pynt icon indicating copy to clipboard operation
pynt copied to clipboard

Please state python3 compatibility

Open TauPan opened this issue 7 years ago • 1 comments

pynt-serve fails for me with python 3.4, because it's using f-strings which were added in python 3.6

> pynt-serve
Traceback (most recent call last):
  File "/home/taupan/nobackup/virtualenvs/myproject/bin/pynt-serve", line 5, in <module>
    import codebook.syntax
  File "/home/taupan/nobackup/virtualenvs/myproject/lib/python3.4/site-packages/codebook/__init__.py", line 29
    open(f"{os.environ['HOME']}/.pynt", 'a').close()
                                     ^
SyntaxError: invalid syntax

TauPan avatar Sep 20 '18 15:09 TauPan

I met that and solved it eventually. Update my python to python 3.7 (in fact, at the very beginning I use python2). And at the first step, python3 -m pip install link_to_pynt Then restart the emacs.

quarkquartet avatar Mar 15 '19 02:03 quarkquartet