Dasar-Dasar Google Cloud: Memulai App Engine Ulasan
Memuat…
Tidak ditemukan hasil.

    Dasar-Dasar Google Cloud: Memulai App Engine Ulasan

    194195 ulasan

    Error occurred when copying the code for the Dockerfile b/c it required an updated version of Python (3.8 instead of 3.7)

    Jessica C. · Diulas sekitar 1 tahun lalu

    Handri P. · Diulas sekitar 1 tahun lalu

    the lab needs to be updated, the docker file makes reference to a requirements.txt file, but now that file is listed ad requirements-test.txt. Someone with not much experience might not know how to fix the issue. also when first time deployed . I also had to the the upgrade for pip to work. Once the docker build completed, and I tried to test locally, it failed with error: qwiklabs-gcp-03-0e3153bd2759)$ docker run --rm -p 8080:8080 test-python [2023-11-12 15:57:36 +0000] [1] [INFO] Starting gunicorn 21.2.0 [2023-11-12 15:57:36 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) [2023-11-12 15:57:36 +0000] [1] [INFO] Using worker: gthread [2023-11-12 15:57:36 +0000] [9] [INFO] Booting worker with pid: 9 [2023-11-12 15:57:36 +0000] [9] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker worker.init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 95, in init_process super().init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 371, in import_app mod = importlib.import_module(module) File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/app/main.py", line 17, in <module> from flask import Flask ModuleNotFoundError: No module named 'flask' [2023-11-12 15:57:36 +0000] [9] [INFO] Worker exiting (pid: 9) [2023-11-12 15:57:37 +0000] [1] [ERROR] Worker (pid:9) exited with code 3 [2023-11-12 15:57:37 +0000] [1] [ERROR] Shutting down: Master [2023-11-12 15:57:37 +0000] [1] [ERROR] Reason: Worker failed to boot. But I decided to continue with next steps to see what happen and I was able to deploy to app engine and got the url working.

    Marilú R. · Diulas sekitar 1 tahun lalu

    俊彦 片. · Diulas sekitar 1 tahun lalu

    Dedy S. · Diulas sekitar 1 tahun lalu

    SENTHAMIL P. · Diulas sekitar 1 tahun lalu

    SENTHAMIL P. · Diulas sekitar 1 tahun lalu

    Juan R. · Diulas sekitar 1 tahun lalu

    Joseph L. · Diulas sekitar 1 tahun lalu

    Flask==3.0.0とpython3.7がバージョンがあっていないのかエラー、python3.8にすることで解決

    卓弥 逸. · Diulas sekitar 1 tahun lalu

    弘稔 宮. · Diulas sekitar 1 tahun lalu

    弘稔 宮. · Diulas sekitar 1 tahun lalu

    Jason K. · Diulas sekitar 1 tahun lalu

    Edmar V. · Diulas sekitar 1 tahun lalu

    Alina O. · Diulas sekitar 1 tahun lalu

    Reynante T. · Diulas sekitar 1 tahun lalu

    need to update requriements.txt verson of flask to 2.2.5

    brian z. · Diulas sekitar 1 tahun lalu

    Methunraj K. · Diulas sekitar 1 tahun lalu

    python version needs to update from 3.7 to 3.8 in docker file

    Listy S. · Diulas sekitar 1 tahun lalu

    Ramendra G. · Diulas sekitar 1 tahun lalu

    CAMILO ARTURO M. · Diulas sekitar 1 tahun lalu

    JUAN SEBASTIAN T. · Diulas sekitar 1 tahun lalu

    Epuri Jyothi P. · Diulas sekitar 1 tahun lalu

    Olu A. · Diulas sekitar 1 tahun lalu

    Dimeja L. · Diulas sekitar 1 tahun lalu

    Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.