BasioMeusPuga / Lector

Qt based ebook reader
GNU General Public License v3.0
1.51k stars 207 forks source link

installation on trueOS #34

Closed mich2018 closed 6 years ago

mich2018 commented 6 years ago

Hi i have this error when i launch the Lector. I am using TrueOS 18.04 stable

Traceback (most recent call last): File "/usr/local/bin/lector", line 11, in load_entry_point('lector==0.3.3', 'gui_scripts', 'lector')() File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 572, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2755, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2408, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2414, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python2.7/site-packages/lector/main.py", line 386 f'{ebooks_string} ({self.available_parsers})') ^ SyntaxError: invalid syntax

BasioMeusPuga commented 6 years ago

You need to run this with Python 3.6. Any version of Python before that will not work. If your distro still defaults to python 2.7, repeat the install instructions with python3 setup.py build and python3 setup.py install