syncabook icon indicating copy to clipboard operation
syncabook copied to clipboard

problem running syncabook

Open avijitb129 opened this issue 1 year ago • 1 comments

whenever i run syncabook -h, it shows me this-

D:\Downloads\syncabook\syncabook>syncabook -h Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Scripts\syncabook-script.py", line 33, in sys.exit(load_entry_point('syncabook==0.1.1', 'console_scripts', 'syncabook')()) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\Scripts\syncabook-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\importlib\metadata_init_.py", line 171, in load module = import_module(match.group('module')) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in call_with_frames_removed File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\syncabook-0.1.1-py3.10.egg\syncabook_main.py", line 3, in from .create import create_ebook File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\syncabook-0.1.1-py3.10.egg\syncabook\create.py", line 9, in from bs4 import BeautifulSoup ModuleNotFoundError: No module named 'bs4'

avijitb129 avatar Oct 20 '22 13:10 avijitb129

@avijitb129, it seems beautifulsoup4 is not installed. It should be installed automatically when you do pip install . to install syncabook. Try reinstalling it and look for error messages during installation. And I'd recommend using syncabook with Docker to avoid such issues.

Note also, that for the sync step you need the afaligner library that is not tested on Windows. You may need to use a VM.

r4victor avatar Oct 27 '22 06:10 r4victor