View Single Post
Old 09-02-2021, 06:28 AM   #205
cat0705
Member
cat0705 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2020
Device: Kindle Oasis 1
Hello, recently I've just switched from Windows to Linux so I'm still pretty new with the systems. Somehow the plugins is not working even though I had python3-pip installed.

Code:

Quote:
calibre, version 5.26.0 (linux, embedded-python: True)
Weak: subprocess.run() failed

Starting job: Generating Word Wise and X-Ray for _
Job: "Generating Word Wise and X-Ray for _" failed with error:
Traceback (most recent call last):
File "calibre/gui2/threaded_jobs.py", line 83, in start_work
File "calibre_plugins.worddumb.parse_job", line 24, in do_job
install_libs(model, create_ww)
File "calibre_plugins.worddumb.unzip", line 50, in install_libs
pip_install(pkg, value['version'], value['compiled'])
File "calibre_plugins.worddumb.unzip", line 104, in pip_install
subprocess.run(args, check=True, capture_output=True)
File "subprocess.py", line 512, in run
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', '-t', PosixPath('/home/cat0705/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/worddumb-libs/blis_0.7.4_3.8'), '--no-deps', '--python-version', '3.8', 'blis==0.7.4']' returned non-zero exit status 1.

Called with args: ((136, 'AZW3', 'B071HDXV91', '/home/cat0705/Calibre Library/_.azw3', <calibre.ebooks.metadata.book.base.Metadata object at 0x7f919ce4d3d0>, False, {'spacy': 'en_core_web_', 'wiki': 'en'}), True, True) {'notifications': <queue.Queue object at 0x7f919ce46970>, 'abort': <threading.Event object at 0x7f919fcf0430>, 'log': <calibre.utils.logging.GUILog object at 0x7f919cee0e50>}
/usr/bin/python3: No module named pip
I think it must be due to the way Linux dealing with pip package. Any ideas on how can I solve this? Thank you!
cat0705 is offline   Reply With Quote