cpbotha / nvpy

Simplenote syncing note-taking application, inspired by Notational Velocity and ResophNotes, but uglier and cross-platformerer.
Other
849 stars 114 forks source link

nvpy v2.0.0 not starting due to syntax error #190

Closed BENR0 closed 4 years ago

BENR0 commented 4 years ago

After fresh install of nvpy I get the following error when trying to start nvpy:

Traceback (most recent call last):

  File "/usr/local/bin/nvpy", line 11, in <module>
    load_entry_point('nvpy==2.0.0', 'gui_scripts', 'nvpy')()

  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)

  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()

  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()

  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)

  File "/usr/local/lib/python3.5/dist-packages/nvpy/nvpy.py", line 79
    text: str
        ^
SyntaxError: invalid syntax
yuuki0xff commented 4 years ago

nvPY uses the Syntax for Variable Annotations introduced from Python 3.6. Please upgrade the Python to 3.6 or later.