repetitive error. I'm going wrong somewhere, just dont know where
18 Replies
Solution
Project ID:
N/A
more specifically ```
#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
do you have python code in your requirements.txt?
ah could the .py or .ext be an issue
from your logs it doesn't seem to like the extensions
5.122 ERROR: Could not find a version that satisfies the requirement random (from versions: none)
5.122 ERROR: No matching distribution found for random
it doesnt seem to like "random"
thats very annoying
what python version are you using locally
[stage-0 6/8] RUN --mount=type=cache,id=s/e907db10-7dab-4b84-a163-817a218f91ee-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:5.283 ERROR: Could not find a version that satisfies the requirement re (from versions: none) 5.284 ERROR: No matching distribution found for re 5.455 5.455 [notice] A new release of pip is available: 23.0.1 -> 23.3.1 5.455 [notice] To update, run: pip install --upgrade pip Python 3.10.11 i took random out of requirements and then it stopped liking re
you need to pin these packages to a specific version that's compatible with python 3.10
what do u mean
so i need to redownload them?
you need to specify a version for each package in your requirements.txt
ohhh
interesting okay
by any chance do u know how to find out the specific versions of packages
pypi
alright thank u :))
random is included with python, you don't need to install it
Instead of manually writing out the packages you think you need, type
pip freeze
in cmd and copy the name and version for the packages you're using
use the same format as the pip freeze
re I believe is also includedoh damn thank u so much
i can kiss you both rn
thank u so much
No prob, let me know if you have any more issues