View Single Post
Old 05-20-2021, 05:38 PM   #126
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=xxyzz;4123008]Please post the output of these commands:

Code:
$ sw_vers -productVersion
$ /usr/bin/pip3 --version
$ /usr/bin/pip3 install -t ~/Library/Preferences/calibre/plugins/worddumb-libs/nltk3.6.2 nltk==3.6.2
Code:
~ % sw_vers -productVersion
 /usr/bin/pip3 --version
 /usr/bin/pip3 install -t ~/Library/Preferences/calibre/plugins/worddumb-libs/nltk3.6.2 nltk==3.6.2
11.4
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
pip 21.1.1 from /Library/Python/3.8/site-packages/pip (python 3.8)
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting nltk==3.6.2
  Downloading nltk-3.6.2-py3-none-any.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 3.0 MB/s 
Collecting joblib
  Downloading joblib-1.0.1-py3-none-any.whl (303 kB)
     |████████████████████████████████| 303 kB 2.4 MB/s 
Collecting click
  Downloading click-8.0.1-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 2.0 MB/s 
Collecting tqdm
  Downloading tqdm-4.60.0-py2.py3-none-any.whl (75 kB)
     |████████████████████████████████| 75 kB 3.7 MB/s 
Collecting regex
  Downloading regex-2021.4.4-cp38-cp38-macosx_10_9_x86_64.whl (284 kB)
     |████████████████████████████████| 284 kB 3.2 MB/s 
Installing collected packages: tqdm, regex, joblib, click, nltk
Successfully installed click-8.0.1 joblib-1.0.1 nltk-3.6.2 regex-2021.4.4 tqdm-4.60.0
It seems like it did something as I no longer get an error in Calibre with Wordumb, but it also seems to do nothing now.

Quote:
Originally Posted by xxyzz View Post
Are you using a m1 mac?
No, Intel.

Quote:
Originally Posted by xxyzz View Post
The last error means you need to install developer tools:

Code:
$ xcode-select --install
Maybe mac's outdated pip wants to build the 'regex' package but can't find any required build tools, install the developer tool then update pip should fix your problem.

You can also install python via Homebrew.
Installed succesfully.
mallomar is offline   Reply With Quote