opencc安装失败
回答
收藏

opencc安装失败
10

N
NINGXUAN
2025-04-14 09:14·浏览量:723
N
NINGXUAN
发布于 2025-04-14 09:14723浏览

Looking in indexes: http://root:****@pypi.yingdao.com/root/pypi/+simple, https://pypi.tuna.tsinghua.edu.cn/simple, http://mirrors.aliyun.com/pypi/simple

Looking in links: c:\Users\Lenovo\AppData\Local\Shadowbot\cache\packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\python\\Lib\\site-packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\whls

Collecting opencc==1.1.9

 File was already downloaded c:\users\lenovo\appdata\local\shadowbot\cache\packages\opencc-1.1.9.tar.gz

 Installing build dependencies: started

 Running command pip subprocess to install build dependencies

 Looking in indexes: http://root:****@pypi.yingdao.com/root/pypi/+simple, https://pypi.tuna.tsinghua.edu.cn/simple, http://mirrors.aliyun.com/pypi/simple

 Looking in links: c:\Users\Lenovo\AppData\Local\Shadowbot\cache\packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\python\\Lib\\site-packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\whls

 Collecting setuptools>=61

   Using cached http://mirrors.aliyun.com/pypi/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB)

 Collecting wheel

   Using cached http://mirrors.aliyun.com/pypi/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl (65 kB)

 Collecting cmake

   Using cached http://mirrors.aliyun.com/pypi/packages/18/77/9b85ad431b16cc7de1c63b1b023bdaaffe1d128ccc09c23e5931ee1a7100/cmake-4.0.0-py3-none-win_amd64.whl (36.7 MB)

 Collecting importlib_metadata>=1.4 (from cmake)

   Using cached http://mirrors.aliyun.com/pypi/packages/ff/94/64287b38c7de4c90683630338cf28f129decbba0a44f0c6db35a873c73c4/importlib_metadata-6.7.0-py3-none-any.whl (22 kB)

 Collecting zipp>=0.5 (from importlib_metadata>=1.4->cmake)

   Using cached http://mirrors.aliyun.com/pypi/packages/5b/fa/c9e82bbe1af6266adf08afb563905eb87cab83fde00a0a08963510621047/zipp-3.15.0-py3-none-any.whl (6.8 kB)

 Collecting typing-extensions>=3.6.4 (from importlib_metadata>=1.4->cmake)

   Using cached http://mirrors.aliyun.com/pypi/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl (33 kB)

 Installing collected packages: zipp, wheel, typing-extensions, setuptools, importlib_metadata, cmake

 Successfully installed cmake-4.0.0 importlib_metadata-6.7.0 setuptools-68.0.0 typing-extensions-4.7.1 wheel-0.42.0 zipp-3.15.0

 Installing build dependencies: finished with status 'done'

 Getting requirements to build wheel: started

 Running command Getting requirements to build wheel

 running egg_info

 writing OpenCC.egg-info\PKG-INFO

 writing dependency_links to OpenCC.egg-info\dependency_links.txt

 writing top-level names to OpenCC.egg-info\top_level.txt

 reading manifest file 'OpenCC.egg-info\SOURCES.txt'

 reading manifest template 'MANIFEST.in'

 warning: no previously-included files matching '*~' found anywhere in distribution

 warning: no previously-included files matching '*.py[cod]' found anywhere in distribution

 warning: no previously-included files matching '*.so' found anywhere in distribution

 adding license file 'LICENSE'

 adding license file 'AUTHORS'

 writing manifest file 'OpenCC.egg-info\SOURCES.txt'

 Getting requirements to build wheel: finished with status 'done'

 Preparing metadata (pyproject.toml): started

 Running command Preparing metadata (pyproject.toml)

 running dist_info

 creating C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info

 writing C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\PKG-INFO

 writing dependency_links to C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\dependency_links.txt

 writing top-level names to C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\top_level.txt

 writing manifest file 'C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\SOURCES.txt'

 reading manifest file 'C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\SOURCES.txt'

 reading manifest template 'MANIFEST.in'

 warning: no previously-included files matching '*~' found anywhere in distribution

 warning: no previously-included files matching '*.py[cod]' found anywhere in distribution

 warning: no previously-included files matching '*.so' found anywhere in distribution

 adding license file 'LICENSE'

 adding license file 'AUTHORS'

 writing manifest file 'C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC.egg-info\SOURCES.txt'

 creating 'C:\Users\Lenovo\AppData\Local\Temp\pip-modern-metadata-evoal4xe\OpenCC-1.1.9.dist-info'

 Preparing metadata (pyproject.toml): finished with status 'done'

Successfully downloaded opencc

Looking in links: c:\Users\Lenovo\AppData\Local\Shadowbot\cache\packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\python\\Lib\\site-packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\whls

Processing c:\users\lenovo\appdata\local\shadowbot\cache\packages\opencc-1.1.9.tar.gz

 Installing build dependencies: started

 Installing build dependencies: finished with status 'error'

 error: subprocess-exited-with-error

 

 pip subprocess to install build dependencies did not run successfully.

 exit code: 1

 

 [5 lines of output]

 Looking in links: c:\Users\Lenovo\AppData\Local\Shadowbot\cache\packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\python\\Lib\\site-packages, c:\Program Files\ShadowBot\shadowbot-5.26.18\whls

 Processing c:\program files\shadowbot\shadowbot-5.26.18\whls\setuptools-67.8.0-py3-none-any.whl

 Processing c:\program files\shadowbot\shadowbot-5.26.18\whls\wheel-0.40.0-py3-none-any.whl

 ERROR: Could not find a version that satisfies the requirement cmake (from versions: none)

 ERROR: No matching distribution found for cmake

 [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.

尝试过的方案

更换安装版本

区分大小写

收藏
全部回答1
最新
发布回答
回答