hurlenko / mloader

Download manga from mangaplus.shueisha.co.jp
GNU General Public License v3.0
153 stars 33 forks source link

AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key' #64

Closed MiraiSubject closed 4 months ago

MiraiSubject commented 4 months ago

Describe the bug Doing any command in mloader including --help results in the error displayed on the stack trace.

Expected behavior

Expected to see help information

Stack trace

╰─ mloader --help Traceback (most recent call last): File "/home/subject/.local/bin/mloader", line 5, in from mloader.main import main File "/home/subject/.local/lib/python3.8/site-packages/mloader/main.py", line 10, in from mloader.exporter import RawExporter, CBZExporter File "/home/subject/.local/lib/python3.8/site-packages/mloader/exporter.py", line 8, in from mloader.response_pb2 import Title, Chapter File "/home/subject/.local/lib/python3.8/site-packages/mloader/response_pb2.py", line 21, in create_key=_descriptor._internal_create_key, AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'

Environment (please complete the following information):

MiraiSubject commented 4 months ago

This is very likely an issue with the system I was running on. (Likely the python version). I'm running it on 3.10 now on my Mac and it runs as expected.