Closed OctarineSourcerer closed 6 years ago
After downloading all dependencies, and following install instructions, sudo python3 setup.pt install gives the following result:
sudo python3 setup.pt install
running install running build running build_py running egg_info writing requirements to lector.egg-info/requires.txt writing top-level names to lector.egg-info/top_level.txt writing lector.egg-info/PKG-INFO writing dependency_links to lector.egg-info/dependency_links.txt writing entry points to lector.egg-info/entry_points.txt reading manifest file 'lector.egg-info/SOURCES.txt' writing manifest file 'lector.egg-info/SOURCES.txt' running install_lib byte-compiling /usr/local/lib/python3.5/dist-packages/lector/models.py to models.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/models.py", line 176 return f'{d}d' ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/contentwidgets.py to contentwidgets.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/contentwidgets.py", line 298 f'{extension_string} (*.png *.jpg *.bmp)') ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/library.py to library.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/library.py", line 135 tooltip_string = f'{title} \n{author_string}: {author} \n{year_string}: {str(year)}' ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/__main__.py to __main__.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/__main__.py", line 484 f'{ebooks_string} ({self.available_parsers})') ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/definitionsdialog.py to definitionsdialog.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/definitionsdialog.py", line 85 self.pronounceButton.setToolTip(f'Pronounce "{word_root}"') ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/guifunctions.py to guifunctions.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/guifunctions.py", line 30 icon_path = f':/images/{icon_theme}/{image_name}.svg' ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/metadatadialog.py to metadatadialog.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/metadatadialog.py", line 104 tooltip_string = f'{title} \n{author_string}: {author} \n{year_string}: {str(year)}' ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/sorter.py to sorter.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/sorter.py", line 172 print(f'{os.path.basename(filename)} is already in database') ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/widgets.py to widgets.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/widgets.py", line 513 print(f'Database: Bookmark error for {title}. Recommend delete entry.') ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/parsers/pdf.py to pdf.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/parsers/pdf.py", line 86 contents = [(f'Page {i + 1}', i) for i in range(self.book.numPages())] ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/parsers/comicbooks.py to comicbooks.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/parsers/comicbooks.py", line 78 contents = [(f'Page {count + 1}', i) for count, i in enumerate(self.image_list)] ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/database.py to database.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/database.py", line 63 self.database.execute(f"CREATE TABLE books ({column_string})") ^ SyntaxError: invalid syntax byte-compiling /usr/local/lib/python3.5/dist-packages/lector/ePub/read_epub.py to read_epub.cpython-35.pyc File "/usr/local/lib/python3.5/dist-packages/lector/ePub/read_epub.py", line 61 print(f'{str(filename)} not found in {short_filename}') ^ SyntaxError: invalid syntax running install_data running install_egg_info removing '/usr/local/lib/python3.5/dist-packages/lector-0.4.1-py3.5.egg-info' (and everything under it) Copying lector.egg-info to /usr/local/lib/python3.5/dist-packages/lector-0.4.1-py3.5.egg-info running install_scripts Installing lector script to /usr/local/bin writing list of installed files to 'install.txt'
Please look at the readme. Python 3.6 is necessary.
After downloading all dependencies, and following install instructions,
sudo python3 setup.pt install
gives the following result: