error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [56 lines of output]
Unable to find pgen, not compiling formal grammar.
running egg_info
creating /tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info
writing /tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info/entry_points.txt
writing top-level names to /tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-9dymxhru/Cython.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-cprtfazi/cython_6623ddb2d0bc4d2cb056878928354717/setup.py", line 228, in <module>
setup(
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 321, in run
self.find_sources()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
mm.run()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 550, in run
self.add_defaults()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults
sdist.add_defaults(self)
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/command/sdist.py", line 102, in add_defaults
super().add_defaults()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/glasgow/anaconda3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "/tmp/pip-install-cprtfazi/cython_6623ddb2d0bc4d2cb056878928354717/Cython/Distutils/build_ext.py", line 20, in finalize_options
self.distribution.ext_modules[:] = cythonize(
^^^^^^^^^^
File "/tmp/pip-install-cprtfazi/cython_6623ddb2d0bc4d2cb056878928354717/Cython/Build/Dependencies.py", line 960, in cythonize
module_list, module_metadata = create_extension_list(
^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-cprtfazi/cython_6623ddb2d0bc4d2cb056878928354717/Cython/Build/Dependencies.py", line 754, in create_extension_list
elif isinstance(patterns, basestring) or not isinstance(patterns, collections.Iterable):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Iterable'
[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.