luejerry / html-mangareader

A lightweight offline CBZ/CBR and image viewer with full continuous scrolling
MIT License
168 stars 15 forks source link

Building on macOS fails (x86_64) #12

Closed frykauf closed 2 years ago

frykauf commented 3 years ago

It seems I was able to solve issue with rarfile by changing "from rarfile import rarfile" into "from mangareader.rarfile import RarFile" and adding rarfile.py into the mangareader folder.

But there seems to also be an issue with importing Py7zr which with my limited knowledge I was unable to solve. (I'm not a programmer): "from py7zr import py7zr"

both are from mangarenderer.py

but there is also issue in reader.py with "from mangareader.mangarender import extract_render"

This is the whole error (after fixing the issue with rarfile): Traceback (most recent call last): File "reader.py", line 7, in <module> from mangareader.mangarender import extract_render File "/Users/Martiu/Downloads/html-mangareader-master/mangareader/mangarender.py", line 6, in <module> from py7zr import py7zr ModuleNotFoundError: No module named 'py7zr'

luejerry commented 2 years ago

Make sure to run pip install -r requirements.txt first