View Single Post
Old 05-19-2021, 03:46 PM   #124
mallomar
Connoisseur
mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.mallomar shines like a glazed doughnut.
 
mallomar's Avatar
 
Posts: 71
Karma: 8682
Join Date: May 2018
Device: Onyx Boox Note Air 2, Kindle Oasis 2
Quote:
Originally Posted by xxyzz View Post
The new version doesn't run the `pip install -U` command like the error message thenextstar posted. What's your error message?
Code:
calibre, version 5.17.0 (darwin, embedded-python: True)
Dumb error: Failed: Generating Word Wise for The Largesse of the Sea Maiden

Starting job: Generating Word Wise for The Largesse of the Sea Maiden 
Job: "Generating Word Wise for The Largesse of the Sea Maiden" 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 17, in do_job
    install_libs()
  File "calibre_plugins.worddumb.unzip", line 26, in install_libs
    pip_install('nltk', NLTK_VERSION)
  File "calibre_plugins.worddumb.unzip", line 83, in pip_install
    subprocess.check_call(
  File "subprocess.py", line 364, in check_call
subprocess.CalledProcessError: Command '['/usr/bin/pip3', 'install', '-t', PosixPath('/Users/rapaz/Library/Preferences/calibre/plugins/worddumb-libs/nltk3.6.2'), 'nltk==3.6.2']' returned non-zero exit status 1.
 
Called with args: ((84, 'KFX', 'B0722TJSG7', '/Users/rapaz/Calibre Library/Denis Johnson/The Largesse of the Sea Maiden (84)/The Largesse of the Sea Maiden - Denis Johnson.kfx', <calibre.ebooks.metadata.book.base.Metadata object at 0x13475a160>), True) {'notifications': <queue.Queue object at 0x1350e60d0>, 'abort': <threading.Event object at 0x1350e6550>, 'log': <calibre.utils.logging.GUILog object at 0x1350e62b0>}
Quote:
Originally Posted by xxyzz View Post
Mac's pip3 is too old, I'd recommend use Homebrew's python or update the built-in pip:

Code:
$ sudo -H /usr/bin/python3 -m pip install -U pip
I tried putting this command in Terminal but it says:
Code:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
mallomar is offline   Reply With Quote