Как я могу устранить ошибку установки texthero?Python

Программы на Python
Anonymous
Как я могу устранить ошибку установки texthero?

Сообщение Anonymous »

Когда я попытался !pip установить texthero в Google Colab, возникла ошибка ниже, поэтому я не могу импортировать texthero.
  • код установки pip
!pip install texthero
  • сообщение об ошибке после установки pip
Collecting texthero
Downloading texthero-1.1.0-py3-none-any.whl (24 kB)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Collecting gensim=3.6.0 (from texthero)
Downloading gensim-3.8.3.tar.gz (23.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.4/23.4 MB 22.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Building wheels for collected packages: gensim
error: subprocess-exited-with-error

× python setup.py bdist_wheel 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.
Building wheel for gensim (setup.py) ... error
ERROR: Failed building wheel for gensim
Running setup.py clean for gensim
Failed to build gensim
ERROR: Could not build wheels for gensim, which is required to install pyproject.toml-based projects
  • Сообщение об ошибке после импорта текстового героя в качестве героя
ModuleNotFoundError: No module named 'texthero'


Подробнее здесь: https://stackoverflow.com/questions/765 ... f-texthero

Вернуться в «Python»