Google Cloud Fundamentals: Getting Started with App Engine Rezensionen

Google Cloud Fundamentals: Getting Started with App Engine Rezensionen

194054 Rezensionen

issue with the terminal

Devon S. · Vor 9 Monate überprüft

Python 3.9 has no distribution compatible with Flask 3.0.0. I figured it out by having to update the requirement.txt to a lower version.

Nick H. · Vor 9 Monate überprüft

Senthil Prabhu N. · Vor 9 Monate überprüft

Saurabh R. · Vor 9 Monate überprüft

Rafael Alberto Q. · Vor 9 Monate überprüft

=> ERROR [8/8] RUN pip install -r requirements.txt 0.9s ------ > [8/8] RUN pip install -r requirements.txt: 0.739 ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.8; 2.3.1 Requires-Python >=3.8; 2.3.2 Requires-Python >=3.8; 2.3.3 Requires-Python >=3.8; 3.0.0 Requires-Python >=3.8 0.740 ERROR: Could not find a version that satisfies the requirement Flask==3.0.0 (from versions: 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.9, 0.10, 0.10.1, 0.11, 0.11.1, 0.12, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5) 0.740 ERROR: No matching distribution found for Flask==3.0.0

Daniele F. · Vor 9 Monate überprüft

Alex W. · Vor 9 Monate überprüft

Hira A. · Vor 9 Monate überprüft

Lab done

Hari P. · Vor 9 Monate überprüft

Routhu S. · Vor 9 Monate überprüft

Roberto T. · Vor 9 Monate überprüft

francis jacquinot k. · Vor 9 Monate überprüft

francis jacquinot k. · Vor 9 Monate überprüft

The python version is not compatible with the Flask version. Plus understanding and executing steps would take more than 20mins

Amritansh D. · Vor 9 Monate überprüft

for the docker code snippet, python version should 3.8 instead of 3.7 or you get compatibility issues when running the docker build

David E. · Vor 9 Monate überprüft

Swapnil J. · Vor 9 Monate überprüft

Tanukula N. · Vor 9 Monate überprüft

Allyne V. · Vor 9 Monate überprüft

Sadhna .. · Vor 9 Monate überprüft

Lei A. · Vor 9 Monate überprüft

Lakshmana K. · Vor 9 Monate überprüft

Able to troubleshoot the issue with the version of the application inside requirements.txt

Raymond M. · Vor 9 Monate überprüft

scripts not working in step 2: Edit the Dockerfile [hint: nano Dockerfile] to contain the following content. FROM python:3.7 WORKDIR /app COPY . . RUN pip install gunicorn RUN pip install -r requirements.txt ENV PORT=8080 CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 main:app I had to change from python to FROM python:3.8 I also manually installed Flank3.0 and upgraded pip. Between all those actions - I managed to resolve my issue. Ultimately the 20 minutes isn't enough time if you need to troubleshoot.

Julie M. · Vor 9 Monate überprüft

atsushi k. · Vor 9 Monate überprüft

Tomasz F. · Vor 9 Monate überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.