xxyzz / WordDumb

A calibre plugin that generates Kindle Word Wise and X-Ray files for KFX, AZW3, MOBI and EPUB eBook.
https://xxyzz.github.io/WordDumb/
GNU General Public License v3.0
386 stars 19 forks source link

No module named 'numpy.core._multiarray_umath' #67

Closed lirean closed 1 year ago

lirean commented 2 years ago

Error happens in generating X-ray:

Starting job: Generating Word Wise and X-Ray for Everything Is Fcked (9780062888471) Job: "Generating Word Wise and X-Ray for Everything Is Fcked (9780062888471)" failed with error: Traceback (most recent call last): File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\numpy\core__init__.py", line 23, in File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\numpy\core\multiarray.py", line 10, in File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\numpy\core\overrides.py", line 6, in ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 82, in start_work File "calibre_plugins.worddumb.parse_job", line 61, in do_job File "calibre_plugins.worddumb.parse_job", line 92, in create_files File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\spacy__init.py", line 11, in File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\thinc\init.py", line 2, in File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\numpy\init.py", line 144, in File "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10\numpy\core\init__.py", line 49, in ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

I installed python 3.10.1 And there is no folder AppData\Roaming\calibre\plugins\worddumb-libs-py3.10. Only file in folder C:\Users\Admin\Calibre Library

Please advise how can I fix this.

xxyzz commented 2 years ago

Please delete the "C:\Users\Admin\AppData\Roaming\calibre\plugins\worddumb-libs-py3.10" folder then try again.