R
Railway12mo ago
bloom

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

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