Hi,
I am experiencing build error with exit code 1. I also have this in the log:
Collecting click==8.1.3
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 419.4 MB/s eta 0:00:00
Collecting conda==4.3.16
Downloading conda-4.3.16.tar.gz (299 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.3/299.3 kB 473.4 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
WARNING: Your current install method for conda only supports conda
as a python library. You are not installing a conda executable command
or activate/deactivate commands. If your intention is to install conda
as a standalone application, currently supported install methods include
the Anaconda installer and the miniconda installer. If you'd still like
for setup.py to create entry points for you, use `utils/setup-testing.py`.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-dqw87lg7/conda_40d56a1b6bbc420da5481ee4bfa06dd2/setup.py", line 35, in <module>
import conda._vendor.auxlib.packaging # NOQA
File "/tmp/pip-install-dqw87lg7/conda_40d56a1b6bbc420da5481ee4bfa06dd2/conda/__init__.py", line 13, in <module>
from .common.compat import iteritems, text_type
File "/tmp/pip-install-dqw87lg7/conda_40d56a1b6bbc420da5481ee4bfa06dd2/conda/common/compat.py", line 77, in <module>
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)
[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.
[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: python -m pip install --upgrade pip
--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
I am not sure what this means. I have been training models, restarting the Space several times today. Have not seen this issue before.
Does anyone know how to fix this?