Hi! I’m wondering if you could also help me out.
I was previously getting the same error message as Thomas, then I ran “pip freeze > requirements.txt” and pushed to huggingface. I then got an error saying:
→ RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Processing /home/conda/feedstock_root/build_artifacts/aiofiles_1677173365185/work
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/home/conda/feedstock_root/build_artifacts/aiofiles_1677173365185/work’
→ ERROR: process “/bin/sh -c pip install --no-cache-dir -r requirements.txt” did not complete successfully: exit code: 1
Running “pip list --format=freeze > requirements.txt” instead helped solve that problem, but now I’m getting:
ERROR: Could not find a version that satisfies the requirement conda==23.3.1 (from versions: 3.0.6, 3.5.0, 3.7.0, 3.17.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.7, 4.0.8, 4.0.9, 4.1.2, 4.1.6, 4.2.6, 4.2.7, 4.3.13, 4.3.16)
ERROR: No matching distribution found for conda==23.3.1
[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’d really appreciate any thoughts you might have! In case it’s helpful, I’m using mamba. Not sure why I’m getting the notice to upgrade pip, I already tried upgrading it and pushing app.py again.
conda==23.3.1 is indeed in my requirements.txt file, but I’m not sure why it’s an issue.