Help me ! Error deploying a Python project with Flask
project link : https://github.com/marconesb/CalculadoraFinanceira-Python
10.95 Downloading click-8.1.7-py3-none-any.whl (97 kB)
10.96 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 16.4 MB/s eta 0:00:00
11.05 Collecting colorama==0.4.6
11.06 Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
11.46 ERROR: Ignored the following versions that require a different python version: 1.2.0 Requires-Python >=3.9
11.46 ERROR: Could not find a version that satisfies the requirement contourpy==1.2.0 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0, 1.1.1rc1, 1.1.1)
11.46 ERROR: No matching distribution found for contourpy==1.2.0
11.76
11.76 [notice] A new release of pip is available: 23.0.1 -> 23.3.1
11.76 [notice] To update, run: pip install --upgrade pip
-----
Dockerfile:20
-------------------
18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/27a9d397-e50f-4144-8379-2d5dfc1e151b-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
21 |
22 |
-------------------
ERROR: failed to solve: 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
Error: Docker build failed
GitHub
GitHub - marconesb/CalculadoraFinanceira-Python
Contribute to marconesb/CalculadoraFinanceira-Python development by creating an account on GitHub.
8 Replies
Project ID:
27a9d397-e50f-4144-8379-2d5dfc1e151b
what version of python do you use locally
Python 3.9.10
what version of python is railway using for your build
I am using Python 3.9.10 version in the project to build
full build logs please https://bookmarklets.up.railway.app/log-downloader/
What is the purpose of this link? I don't understand, can you help me or not?
that link tells you what it does, please follow the 3 steps