错误信息:
C:\Users\lixianwei>pip install tiny_tokenizer[all]
Collecting tiny_tokenizer[all]
Using cached https://files.pythonhosted.org/packages/fd/c1/9fc8d397899e55e9a36a3121fb9fee1801af84dba0c6391800d593871325/tiny_tokenizer-3.0.2.tar.gz
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
tiny-tokenizer depends on SudachiDict_core@ https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190927.tar.gz
解决办法:分开执行
pip install tiny_tokenizer
pip install tiny_tokenizer[all]
如下:


本文详细记录了在使用pip安装tiny_tokenizer包时遇到的依赖问题,指出直接安装tiny_tokenizer[all]会导致错误,因为某些依赖包不在PyPI上。文章提供了正确的安装步骤,先单独安装tiny_tokenizer,再安装额外的依赖。

被折叠的 条评论
为什么被折叠?



