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
369 stars 19 forks source link

Can't generate Word Wise and X-Ray #157

Closed minsusan closed 10 months ago

minsusan commented 10 months ago

Checkboxes

Describe the bug

The plugin didn't work.

System Information

Calibre version: 6.28.1 Python version: 3.12 Plugin version: 3.29.6

Error message

calibre, version 6.28.1 (win32, embedded-python: True)
Tonnerre de Brest!: An error occurred, please copy error message then report bug at GitHub.

Starting job: Generating Word Wise and X-Ray for Bullet Train 
Job: "Generating Word Wise and X-Ray for Bullet Train" failed with error: 
Traceback (most recent call last):
  File "calibre\gui2\threaded_jobs.py", line 82, in start_work
  File "calibre_plugins.worddumb.parse_job", line 170, in do_job
  File "calibre_plugins.worddumb.deps", line 53, in install_deps
  File "calibre_plugins.worddumb.deps", line 146, in pip_install
  File "calibre_plugins.worddumb.utils", line 55, in run_subprocess
  File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['py', '-m', 'pip', '--disable-pip-version-check', 'install', '-U', '-t', 'C:\\Users\\Admin\\AppData\\Roaming\\calibre\\plugins\\worddumb-libs-py3.12', '--no-user', 'https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.6.0/en_core_web_md-3.6.0-py3-none-any.whl']' returned non-zero exit status 1.

Called with args: (ParseJobData(book_id=6, book_path='D:\\CALIBRE\\Kotaro Isaka\\Bullet Train (6)\\Bullet Train - Kotaro Isaka_x_ray_word_wise.epub', mi=<calibre.ebooks.metadata.book.base.Metadata object at 0x00000281F5EA3DF0>, book_fmt='EPUB', book_lang='en', useragent='WordDumb/3.29.6 (https://github.com/xxyzz/WordDumb)', plugin_path=WindowsPath('C:/Users/Admin/AppData/Roaming/calibre/plugins/WordDumb.zip'), spacy_model='en_core_web_md', create_ww=True, create_x=True, asin='', acr='', revision='', update_asin=False, kfx_json=None, mobi_html=b'', mobi_codec=''),) {'notifications': <queue.Queue object at 0x00000281F5EA3EE0>, 'abort': <threading.Event object at 0x00000281F5C15390>, 'log': <calibre.utils.logging.GUILog object at 0x00000281F5C15A20>} 
  error: subprocess-exited-with-error

  pip subprocess to install build dependencies did not run successfully.
  exit code: 1

  [535 lines of output]
  Collecting setuptools
    Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
    Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
  Collecting cython<3.0,>=0.25
    Obtaining dependency information for cython<3.0,>=0.25 from https://files.pythonhosted.org/packages/3f/d6/9eed523aeaca42acbaa3e6d3850edae780dc7f8da9df1bf6a2ceb851839c/Cython-0.29.36-py2.py3-none-any.whl.metadata
    Using cached Cython-0.29.36-py2.py3-none-any.whl.metadata (3.1 kB)
  Collecting cymem<2.1.0,>=2.0.2
    Obtaining dependency information for cymem<2.1.0,>=2.0.2 from https://files.pythonhosted.org/packages/35/e0/34b11adc80502f0760ce2892dfdfcd8a7f450acd3147156c98620cb4071d/cymem-2.0.8-cp312-cp312-win_amd64.whl.metadata
    Using cached cymem-2.0.8-cp312-cp312-win_amd64.whl.metadata (8.6 kB)
  Collecting preshed<3.1.0,>=3.0.2
    Obtaining dependency information for preshed<3.1.0,>=3.0.2 from https://files.pythonhosted.org/packages/db/e4/d074efb7e8a8873d346d2fb8dd43e19b1eae0697351c0d79cff947cba46e/preshed-3.0.9-cp312-cp312-win_amd64.whl.metadata
    Using cached preshed-3.0.9-cp312-cp312-win_amd64.whl.metadata (2.2 kB)
  Collecting murmurhash<1.1.0,>=0.28.0
    Obtaining dependency information for murmurhash<1.1.0,>=0.28.0 from https://files.pythonhosted.org/packages/3b/56/8630be974aeb05868f2058db0ce6f19d85c27adb9b8f733cf69c856afdaa/murmurhash-1.0.10-cp312-cp312-win_amd64.whl.metadata
    Using cached murmurhash-1.0.10-cp312-cp312-win_amd64.whl.metadata (2.0 kB)
  Collecting thinc<8.2.0,>=8.1.8
    Using cached thinc-8.1.12.tar.gz (190 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
  Collecting numpy>=1.15.0
    Obtaining dependency information for numpy>=1.15.0 from https://files.pythonhosted.org/packages/98/d7/1cc7a11118408ad21a5379ff2a4e0b0e27504c68ef6e808ebaa90ee95902/numpy-1.26.0-cp312-cp312-win_amd64.whl.metadata
    Using cached numpy-1.26.0-cp312-cp312-win_amd64.whl.metadata (61 kB)
  Collecting blis<0.8.0,>=0.7.8 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for blis<0.8.0,>=0.7.8 from https://files.pythonhosted.org/packages/9a/91/4aea63dccee6491a54c630d9817656a886e086ab97222e2d8101d8cdf894/blis-0.7.11-cp312-cp312-win_amd64.whl.metadata
    Using cached blis-0.7.11-cp312-cp312-win_amd64.whl.metadata (7.6 kB)
  Collecting wasabi<1.2.0,>=0.8.1 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for wasabi<1.2.0,>=0.8.1 from https://files.pythonhosted.org/packages/8f/69/26cbf0bad11703241cb84d5324d868097f7a8faf2f1888354dac8883f3fc/wasabi-1.1.2-py3-none-any.whl.metadata
    Using cached wasabi-1.1.2-py3-none-any.whl.metadata (28 kB)
  Collecting srsly<3.0.0,>=2.4.0 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for srsly<3.0.0,>=2.4.0 from https://files.pythonhosted.org/packages/06/b4/d620235df9104c9049c5378027fb2692a8a51fafc775e2feae815ff99599/srsly-2.4.8-cp312-cp312-win_amd64.whl.metadata
    Using cached srsly-2.4.8-cp312-cp312-win_amd64.whl.metadata (20 kB)
  Collecting catalogue<2.1.0,>=2.0.4 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for catalogue<2.1.0,>=2.0.4 from https://files.pythonhosted.org/packages/9e/96/d32b941a501ab566a16358d68b6eb4e4acc373fab3c3c4d7d9e649f7b4bb/catalogue-2.0.10-py3-none-any.whl.metadata
    Using cached catalogue-2.0.10-py3-none-any.whl.metadata (14 kB)
  Collecting confection<1.0.0,>=0.0.1 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for confection<1.0.0,>=0.0.1 from https://files.pythonhosted.org/packages/93/f8/e89268a1f885048fb2ee6b5c9f93c4e90de768534acfef3652f87d97d4cb/confection-0.1.3-py3-none-any.whl.metadata
    Using cached confection-0.1.3-py3-none-any.whl.metadata (19 kB)
  Collecting pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 from https://files.pythonhosted.org/packages/73/66/0a72c9fcde42e5650c8d8d5c5c1873b9a3893018020c77ca8eb62708b923/pydantic-2.4.2-py3-none-any.whl.metadata
    Using cached pydantic-2.4.2-py3-none-any.whl.metadata (158 kB)
  Collecting packaging>=20.0 (from thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for packaging>=20.0 from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
  Collecting annotated-types>=0.4.0 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for annotated-types>=0.4.0 from https://files.pythonhosted.org/packages/28/78/d31230046e58c207284c6b2c4e8d96e6d3cb4e52354721b944d3e1ee4aa5/annotated_types-0.6.0-py3-none-any.whl.metadata
    Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)
  Collecting pydantic-core==2.10.1 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for pydantic-core==2.10.1 from https://files.pythonhosted.org/packages/a4/5e/f8436267bb9a35099a75237325107beb640a5a8c8b718492381e9b836719/pydantic_core-2.10.1-cp312-none-win_amd64.whl.metadata
    Using cached pydantic_core-2.10.1-cp312-none-win_amd64.whl.metadata (6.6 kB)
  Collecting typing-extensions>=4.6.1 (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->thinc<8.2.0,>=8.1.8)
    Obtaining dependency information for typing-extensions>=4.6.1 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
    Using cached typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
  Collecting colorama>=0.4.6 (from wasabi<1.2.0,>=0.8.1->thinc<8.2.0,>=8.1.8)
    Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
  Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
  Using cached Cython-0.29.36-py2.py3-none-any.whl (988 kB)
  Using cached cymem-2.0.8-cp312-cp312-win_amd64.whl (39 kB)
  Using cached preshed-3.0.9-cp312-cp312-win_amd64.whl (122 kB)
  Using cached murmurhash-1.0.10-cp312-cp312-win_amd64.whl (25 kB)
  Using cached numpy-1.26.0-cp312-cp312-win_amd64.whl (15.5 MB)
  Using cached blis-0.7.11-cp312-cp312-win_amd64.whl (6.6 MB)
  Using cached catalogue-2.0.10-py3-none-any.whl (17 kB)
  Using cached confection-0.1.3-py3-none-any.whl (34 kB)
  Using cached packaging-23.2-py3-none-any.whl (53 kB)
  Using cached pydantic-2.4.2-py3-none-any.whl (395 kB)
  Using cached pydantic_core-2.10.1-cp312-none-win_amd64.whl (2.0 MB)
  Using cached srsly-2.4.8-cp312-cp312-win_amd64.whl (478 kB)
  Using cached wasabi-1.1.2-py3-none-any.whl (27 kB)
  Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB)
  Using cached typing_extensions-4.8.0-py3-none-any.whl (31 kB)
  Building wheels for collected packages: thinc
    Building wheel for thinc (pyproject.toml): started
    Building wheel for thinc (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    Building wheel for thinc (pyproject.toml) did not run successfully.
    exit code: 1

    [444 lines of output]
    Cythonizing sources
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-cpython-312
    creating build\lib.win-amd64-cpython-312\thinc
    copying thinc\about.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\api.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\compat.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\config.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\initializers.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\loss.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\model.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\mypy.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\optimizers.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\schedules.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\types.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\util.py -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\__init__.py -> build\lib.win-amd64-cpython-312\thinc
    creating build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cupy_ops.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\mps_ops.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\ops.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_cupy_allocators.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_custom_kernels.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_param_server.py -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\__init__.py -> build\lib.win-amd64-cpython-312\thinc\backends
    creating build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\extra\__init__.py -> build\lib.win-amd64-cpython-312\thinc\extra
    creating build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\add.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\array_getitem.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\bidirectional.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\cauchysimilarity.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\chain.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\clipped_linear.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\clone.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\concatenate.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\dish.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\dropout.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\embed.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\expand_window.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\gelu.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\hard_swish.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\hard_swish_mobilenet.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\hashembed.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\layernorm.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\linear.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\list2array.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\list2padded.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\list2ragged.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\logistic.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\lstm.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\map_list.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\maxout.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\mish.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\multisoftmax.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\mxnetwrapper.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\noop.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\padded2list.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\parametricattention.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\pytorchwrapper.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\ragged2list.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\reduce_first.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\reduce_last.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\reduce_max.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\reduce_mean.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\reduce_sum.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\relu.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\remap_ids.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\residual.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\resizable.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\siamese.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sigmoid.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sigmoid_activation.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\softmax.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\softmax_activation.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\strings2arrays.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\swish.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\tensorflowwrapper.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\torchscriptwrapper.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\tuplify.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\uniqued.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_array.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_array2d.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_cpu.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_debug.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_flatten.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_flatten_v2.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_getitem.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_list.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_nvtx_range.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_padded.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_ragged.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_reshape.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\with_signpost_interval.py -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\__init__.py -> build\lib.win-amd64-cpython-312\thinc\layers
    creating build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\mxnet.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\pytorch.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\pytorch_grad_scaler.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\shim.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\tensorflow.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\torchscript.py -> build\lib.win-amd64-cpython-312\thinc\shims
    copying thinc\shims\__init__.py -> build\lib.win-amd64-cpython-312\thinc\shims
    creating build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\conftest.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\strategies.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_config.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_examples.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_import__all__.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_indexing.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_initializers.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_loss.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_optimizers.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_schedules.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_serialize.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_types.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\test_util.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\util.py -> build\lib.win-amd64-cpython-312\thinc\tests
    copying thinc\tests\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests
    creating build\lib.win-amd64-cpython-312\thinc\extra\tests
    copying thinc\extra\tests\__init__.py -> build\lib.win-amd64-cpython-312\thinc\extra\tests
    creating build\lib.win-amd64-cpython-312\thinc\tests\backends
    copying thinc\tests\backends\test_mem.py -> build\lib.win-amd64-cpython-312\thinc\tests\backends
    copying thinc\tests\backends\test_ops.py -> build\lib.win-amd64-cpython-312\thinc\tests\backends
    copying thinc\tests\backends\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\backends
    creating build\lib.win-amd64-cpython-312\thinc\tests\extra
    copying thinc\tests\extra\test_beam_search.py -> build\lib.win-amd64-cpython-312\thinc\tests\extra
    copying thinc\tests\extra\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\extra
    creating build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_basic_tagger.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_combinators.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_feed_forward.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_hash_embed.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_layers_api.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_linear.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_lstm.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_mappers.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_mnist.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_mxnet_wrapper.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_pytorch_wrapper.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_reduce.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_resizable.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_shim.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_softmax.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_sparse_linear.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_tensorflow_wrapper.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_torchscriptwrapper.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_transforms.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_uniqued.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_with_debug.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_with_flatten.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\test_with_transforms.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    copying thinc\tests\layers\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\layers
    creating build\lib.win-amd64-cpython-312\thinc\tests\model
    copying thinc\tests\model\test_model.py -> build\lib.win-amd64-cpython-312\thinc\tests\model
    copying thinc\tests\model\test_validation.py -> build\lib.win-amd64-cpython-312\thinc\tests\model
    copying thinc\tests\model\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\model
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy
    copying thinc\tests\mypy\test_mypy.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy
    copying thinc\tests\mypy\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy
    creating build\lib.win-amd64-cpython-312\thinc\tests\regression
    copying thinc\tests\regression\test_issue208.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression
    copying thinc\tests\regression\test_issue564.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression
    copying thinc\tests\regression\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression
    creating build\lib.win-amd64-cpython-312\thinc\tests\shims
    copying thinc\tests\shims\test_pytorch_grad_scaler.py -> build\lib.win-amd64-cpython-312\thinc\tests\shims
    copying thinc\tests\shims\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\shims
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    copying thinc\tests\mypy\modules\fail_no_plugin.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    copying thinc\tests\mypy\modules\fail_plugin.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    copying thinc\tests\mypy\modules\success_no_plugin.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    copying thinc\tests\mypy\modules\success_plugin.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    copying thinc\tests\mypy\modules\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\modules
    creating build\lib.win-amd64-cpython-312\thinc\tests\regression\issue519
    copying thinc\tests\regression\issue519\program.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression\issue519
    copying thinc\tests\regression\issue519\test_issue519.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression\issue519
    copying thinc\tests\regression\issue519\__init__.py -> build\lib.win-amd64-cpython-312\thinc\tests\regression\issue519
    running egg_info
    writing thinc.egg-info\PKG-INFO
    writing dependency_links to thinc.egg-info\dependency_links.txt
    writing entry points to thinc.egg-info\entry_points.txt
    writing requirements to thinc.egg-info\requires.txt
    writing top-level names to thinc.egg-info\top_level.txt
    dependency C:\Users\Admin\AppData\Local\Programs\Python\Python312\Include\Python.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Programs\Python\Python312\Include\Python.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative
    dependency C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\numpy\core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative
    reading manifest file 'thinc.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: manifest_maker: MANIFEST.in, line 4: path 'tmp/' cannot end with '/'

    warning: no previously-included files matching '*.cpp' found under directory 'thinc'
    adding license file 'LICENSE'
    writing manifest file 'thinc.egg-info\SOURCES.txt'
    C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.backends' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.backends' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.backends' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.backends' to be distributed and are
            already explicitly excluding 'thinc.backends' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.extra' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.extra' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.extra' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.extra' to be distributed and are
            already explicitly excluding 'thinc.extra' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.layers' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.layers' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.layers' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.layers' to be distributed and are
            already explicitly excluding 'thinc.layers' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.tests.mypy.configs' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.tests.mypy.configs' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.tests.mypy.configs' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.tests.mypy.configs' to be distributed and are
            already explicitly excluding 'thinc.tests.mypy.configs' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    C:\Users\Admin\AppData\Local\Temp\pip-build-env-c9e2igr4\overlay\Lib\site-packages\setuptools\command\build_py.py:204: _Warning: Package 'thinc.tests.mypy.outputs' is absent from the `packages` configuration.
    !!

            ********************************************************************************
            ############################
            # Package would be ignored #
            ############################
            Python recognizes 'thinc.tests.mypy.outputs' as an importable package[^1],
            but it is absent from setuptools' `packages` configuration.

            This leads to an ambiguous overall configuration. If you want to distribute this
            package, please make sure that 'thinc.tests.mypy.outputs' is explicitly added
            to the `packages` configuration field.

            Alternatively, you can also rely on setuptools' discovery methods
            (for example by using `find_namespace_packages(...)`/`find_namespace:`
            instead of `find_packages(...)`/`find:`).

            You can read more about "package discovery" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

            If you don't want 'thinc.tests.mypy.outputs' to be distributed and are
            already explicitly excluding 'thinc.tests.mypy.outputs' via
            `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
            you can try to use `exclude_package_data`, or `include-package-data=False` in
            combination with a more fine grained `package-data` configuration.

            You can read more about "package data files" on setuptools documentation page:

            - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

            [^1]: For Python, any directory (with suitable naming) can be imported,
                  even if it does not contain any `.py` files.
                  On the other hand, currently there is no concept of package data
                  directory, all directories are treated like packages.
            ********************************************************************************

    !!
      check.warn(importable)
    copying thinc\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\py.typed -> build\lib.win-amd64-cpython-312\thinc
    copying thinc\backends\cblas.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cpu_kernels.hh -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.cpp -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\extra\search.cpp -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\layers\premap_ids.cpp -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sparselinear.cpp -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\backends\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_custom_kernels.cu -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\_murmur3.cu -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cblas.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\cblas.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\linalg.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.pxd -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\backends\numpy_ops.pyx -> build\lib.win-amd64-cpython-312\thinc\backends
    copying thinc\extra\__init__.pxd -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\extra\search.pxd -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\extra\search.pyx -> build\lib.win-amd64-cpython-312\thinc\extra
    copying thinc\layers\premap_ids.pyx -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\layers\sparselinear.pyx -> build\lib.win-amd64-cpython-312\thinc\layers
    copying thinc\extra\tests\c_test_search.pyx -> build\lib.win-amd64-cpython-312\thinc\extra\tests
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    copying thinc\tests\mypy\configs\mypy-default.ini -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    copying thinc\tests\mypy\configs\mypy-plugin.ini -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\configs
    creating build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\fail-no-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\fail-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\success-no-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    copying thinc\tests\mypy\outputs\success-plugin.txt -> build\lib.win-amd64-cpython-312\thinc\tests\mypy\outputs
    running build_ext
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for thinc
  Failed to build thinc
  ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.
exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Reproduce steps

The plugin didn't work.

Generated files, screenshots or videos

No response

xxyzz commented 10 months ago

Duplicate of #152