Невозможно установить Ryu: AttributeError: модуль «setuptools.command.easy_install» не имеет атрибута «get_script_args»Python

Программы на Python
Anonymous
Невозможно установить Ryu: AttributeError: модуль «setuptools.command.easy_install» не имеет атрибута «get_script_args»

Сообщение Anonymous »

Я пытался установить Ryu несколько дней, но не смог обойти эту ошибку. Я застрял на долгое время, и мне нужно установить его как можно скорее, чтобы продолжить работу.

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

fani@fani-VMware-Virtual-Platform:~/ryu$ pip install . --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Processing /home/fani/ryu
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "", line 2, in 
File "
", line 34, in 
File "/home/fani/ryu/setup.py", line 21, in 
ryu.hooks.save_orig()
File "/home/fani/ryu/ryu/hooks.py", line 36, in save_orig
_main_module()._orig_get_script_args = easy_install.get_script_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'setuptools.command.easy_install' has no attribute 'get_script_args'
[end of output]

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/789 ... install-ha

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