drunkdream / weread-exporter

将微信读书中的书籍导出成epub、pdf、mobi等格式
1.03k stars 157 forks source link

您好,小白Mac遇到如下No module named 'bs4'问题,卡在这里了,谢谢帮忙! #60

Open JaimeISOK opened 5 months ago

JaimeISOK commented 5 months ago

jaimezhang@192 weread-exporter-main % python -m weread_exporter -b 08232ac0720befa90825d88 -o epub -o pdf Traceback (most recent call last): File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/jaimezhang/weread-exporter-main/weread_exporter/main.py", line 158, in main() File "/Users/jaimezhang/weread-exporter-main/weread_exporter/main.py", line 154, in main loop.run_until_complete(async_main()) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/Users/jaimezhang/weread-exporter-main/weread_exporter/main.py", line 17, in async_main from . import export, utils, webpage File "/Users/jaimezhang/weread-exporter-main/weread_exporter/export.py", line 8, in import bs4 ModuleNotFoundError: No module named 'bs4'

brmysss commented 5 months ago

我也遇到了这个问题

LilacZhang commented 5 months ago

python3 -m weread_exporter -b $book_id -o epub -o pdf

drunkdream commented 5 months ago

pip install -e .