Нет модуля с именем «setuptools.command.test».Python

Программы на Python
Anonymous
Нет модуля с именем «setuptools.command.test».

Сообщение Anonymous »

Я использую pip 24.2 и Python 3.12.4. Я хочу установить это:

Код: Выделить всё

$ pip install RandomWords

Код: Выделить всё

Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
python setup.py egg_info did not run successfully.
exit code: 1

Код: Выделить всё

from setuptools.command.test import test as TestCommand
ModuleNotFoundError: No module named 'setuptools.command.test'

Код: Выделить всё

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Почему это происходит и как это исправить?


Подробнее здесь: https://stackoverflow.com/questions/788 ... mmand-test

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