Closed jackycyp closed 1 year ago
WIN 11 22H2 Python 3.12
Starting job: 正在保存自定义词条 Job: "正在保存自定义词条" failed with error: Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 82, in start_work File "calibre_plugins.worddumb.config", line 347, in dump_lemmas_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\jacky\AppData\Roaming\calibre\plugins\worddumb-libs-py3.12', '--no-user', 'https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.6.0/en_core_web_lg-3.6.0-py3-none-any.whl']' returned non-zero exit status 1.
Called with args: (True, WindowsPath('C:/Users/jacky/AppData/Roaming/calibre/plugins/worddumb-lemmas/en/wiktionary_en_zh_v0.db'), 'en') {'notifications': , 'abort': , 'log': }
please help me!
Duplicate of #152, please download the test plugin from GitHub Actions.
calibre, version 6.28.1 错误: 未处理的异常: KeyError:'cu117'
calibre 6.28.1 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: zh_CN Successfully initialized third party plugins: KindleUnpack - The Plugin (0, 83, 1) && Reading Goal (1, 2, 1) Traceback (most recent call last): File "calibre_plugins.worddumb.ui", line 76, in config File "calibre\customize__init__.py", line 163, in do_user_config File "calibre_plugins.worddumb.init", line 26, in config_widget File "calibre_plugins.worddumb.config", line 137, in init KeyError: 'cu117'
I dowload and installed the test plugin ,that's the erro message ! maybe I should try to ues python 3.10
The "KeyError" is fixed in https://github.com/xxyzz/WordDumb/commit/35fffde75256cba1bad034a7cc49ee939bab539b
Starting job: 正在保存自定义词条 Job: "正在保存自定义词条" failed with error: Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 82, in start_work File "calibre_plugins.worddumb.config", line 347, in dump_lemmas_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\jacky\AppData\Roaming\calibre\plugins\worddumb-libs-py3.12', '--no-user', 'https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.6.0/en_core_web_lg-3.6.0-py3-none-any.whl']' returned non-zero exit status 1.
Called with args: (False, WindowsPath('C:/Users/jacky/AppData/Roaming/calibre/plugins/worddumb-lemmas/en/wiktionary_en_zh_v0.db'), 'en') {'notifications': <queue.Queue object at 0x0000020138A35BA0>, 'abort': <threading.Event object at 0x0000020138A35CC0>, 'log': <calibre.utils.logging.GUILog object at 0x0000020138A35E40>} 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
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.
What can I do please help me!!!