R
Railway7mo ago
bloom

repetitive error. I'm going wrong somewhere, just dont know where

18 Replies
Solution
Percy
Percy7mo ago
Project ID: N/A
bloom
bloom7mo ago
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
Brody
Brody7mo ago
do you have python code in your requirements.txt?
bloom
bloom7mo ago
No description
bloom
bloom7mo ago
ah could the .py or .ext be an issue
Brody
Brody7mo ago
from your logs it doesn't seem to like the extensions
bloom
bloom7mo ago
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
Brody
Brody7mo ago
what python version are you using locally
bloom
bloom7mo ago
[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
Brody
Brody7mo ago
you need to pin these packages to a specific version that's compatible with python 3.10
bloom
bloom7mo ago
what do u mean so i need to redownload them?
Brody
Brody7mo ago
you need to specify a version for each package in your requirements.txt
bloom
bloom7mo ago
ohhh interesting okay by any chance do u know how to find out the specific versions of packages
Brody
Brody7mo ago
pypi
bloom
bloom7mo ago
alright thank u :))
Adam
Adam7mo ago
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 included
bloom
bloom7mo ago
oh damn thank u so much i can kiss you both rn thank u so much
Adam
Adam7mo ago
No prob, let me know if you have any more issues