error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1
$pip install git+https://github.com/osrg/ryu.git
Collecting git+https://github.com/osrg/ryu.git Cloning https://github.com/osrg/ryu.git to /tmp/pip-req-build-pe7yw2qj Running command git clone --filter=blob:none --quiet https://github.com/osrg/ryu.git /tmp/pip-req-build-pe7yw2qj Resolved https://github.com/osrg/ryu.git to commit d6cda4f427ff8de82b94c58aa826824a106014c2 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 "/tmp/pip-req-build-pe7yw2qj/setup.py", line 21, in ryu.hooks.save_orig() File "/tmp/pip-req-build-pe7yw2qj/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.
how to solve this....i got this error when i try to install the ryu and i also tried with setuptools in many versions
error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1
$pip install git+https://github.com/osrg/ryu.git
Collecting git+https://github.com/osrg/ryu.git Cloning https://github.com/osrg/ryu.git to /tmp/pip-req-build-pe7yw2qj Running command git clone --filter=blob:none --quiet https://github.com/osrg/ryu.git /tmp/pip-req-build-pe7yw2qj Resolved https://github.com/osrg/ryu.git to commit d6cda4f427ff8de82b94c58aa826824a106014c2 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 "/tmp/pip-req-build-pe7yw2qj/setup.py", line 21, in ryu.hooks.save_orig() File "/tmp/pip-req-build-pe7yw2qj/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.
how to solve this....i got this error when i try to install the ryu and i also tried with setuptools in many versions