C:\temp\Kindle\weread-exporter-main>python -m weread_exporter -b 4e132bc07263ff664e11075 -o epub -o pdf --force-login
Fontconfig error: Cannot load default config file: No such file: (null)
[2024-03-12 22:05:12,303][INFO]Exporting book 4e132bc07263ff664e11075
[2024-03-12 22:05:12,500][INFO][WeReadWebPage] Launch url https://weread.qq.com/web/bookDetail/4e132bc07263ff664e11075
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main.py", line 158, in
main()
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main__.py", line 154, in main
loop.run_until_complete(async_main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main__.py", line 85, in async_main
await page.launch(headless=args.headless, force_login=args.force_login)
File "C:\temp\Kindle\weread-exporter-main\weread_exporter\webpage.py", line 174, in launch
chrome = self._check_chrome()
^^^^^^^^^^^^^^^^^^^^
File "C:\temp\Kindle\weread-exporter-main\weread_exporter\webpage.py", line 167, in _check_chrome
raise utils.ChromeNotInstalledError(
weread_exporter.utils.ChromeNotInstalledError: Please make sure chrome is installed, and the install path is added to PATH environment.
You can test that with where chrome command.
C:\temp\Kindle\weread-exporter-main>python -m weread_exporter -b 4e132bc07263ff664e11075 -o epub -o pdf --force-login Fontconfig error: Cannot load default config file: No such file: (null) [2024-03-12 22:05:12,303][INFO]Exporting book 4e132bc07263ff664e11075 [2024-03-12 22:05:12,500][INFO][WeReadWebPage] Launch url https://weread.qq.com/web/bookDetail/4e132bc07263ff664e11075 Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main.py", line 158, in
main()
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main__.py", line 154, in main
loop.run_until_complete(async_main())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64 qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\temp\Kindle\weread-exporter-main\weread_exporter__main__.py", line 85, in async_main
await page.launch(headless=args.headless, force_login=args.force_login)
File "C:\temp\Kindle\weread-exporter-main\weread_exporter\webpage.py", line 174, in launch
chrome = self._check_chrome()
^^^^^^^^^^^^^^^^^^^^
File "C:\temp\Kindle\weread-exporter-main\weread_exporter\webpage.py", line 167, in _check_chrome
raise utils.ChromeNotInstalledError(
weread_exporter.utils.ChromeNotInstalledError: Please make sure
chrome
is installed, and the install path is added to PATH environment. You can test that withwhere chrome
command.查了一下,好像font这个错很多,但是大部分都是linux下的解决方法,windows下没有头绪,是要在path增加font文件路径?