docker build error

김도오·2022년 10월 7일
0

mysql_ 부분에서 라이브러리가 필요 했던거 같다 해서

> [stage-0 5/8] RUN         --mount=type=cache,target=/root/.cache/pip             pip install -r /tmp/requirements.txt:
#13 0.925 Ignoring appnope: markers 'platform_system == "Darwin" and python_version >= "3.8" and sys_platform == "darwin"' don't match your environment
#13 0.926 Ignoring cffi: markers 'implementation_name == "pypy" and python_version >= "3.7"' don't match your environment
#13 0.926 Ignoring colorama: markers 'python_version >= "3.8" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.8" and python_full_version >= "3.5.0"' don't match your environment
#13 0.927 Ignoring py: markers 'python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.5.0"' don't match your environment
#13 0.928 Ignoring pycparser: markers 'python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.4.0"' don't match your environment
#13 0.928 Ignoring pywin32: markers 'sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.7"' don't match your environment
#13 0.928 Ignoring pywinpty: markers 'os_name == "nt" and python_version >= "3.7"' don't match your environment
#13 0.928 Ignoring tzdata: markers 'sys_platform == "win32" and python_version >= "3.8"' don't match your environment
#13 0.999 Collecting argon2-cffi-bindings==21.2.0
#13 1.000   Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (80 kB)
#13 1.031 Collecting argon2-cffi==21.3.0
#13 1.032   Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
#13 1.062 Collecting asgiref==3.5.2
#13 1.062   Using cached asgiref-3.5.2-py3-none-any.whl (22 kB)
#13 1.093 Collecting asttokens==2.0.5
#13 1.094   Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
#13 1.114 Collecting attrs==21.4.0
#13 1.115   Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
#13 1.132 Collecting backcall==0.2.0
#13 1.133   Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
#13 1.162 Collecting beautifulsoup4==4.11.1
#13 1.163   Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
#13 1.187 Collecting bleach==5.0.1
#13 1.188   Using cached bleach-5.0.1-py3-none-any.whl (160 kB)
#13 1.255 Collecting debugpy==1.6.2
#13 1.274   Using cached debugpy-1.6.2-py2.py3-none-any.whl (4.4 MB)
#13 1.305 Collecting decorator==5.1.1
#13 1.306   Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
#13 1.324 Collecting defusedxml==0.7.1
#13 1.325   Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
#13 1.361 Collecting django-extensions==3.2.0
#13 1.362   Using cached django_extensions-3.2.0-py3-none-any.whl (229 kB)
#13 1.383 Collecting django-hashid-field==3.3.5
#13 1.383   Using cached django_hashid_field-3.3.5-py3-none-any.whl (19 kB)
#13 1.405 Collecting django-phonenumber-field==6.3.0
#13 1.406   Using cached django_phonenumber_field-6.3.0-py3-none-any.whl (65 kB)
#13 1.426 Collecting django-rest-framework==0.1.0
#13 1.427   Using cached django-rest-framework-0.1.0.tar.gz (969 bytes)
#13 1.429   Preparing metadata (setup.py): started
#13 1.639   Preparing metadata (setup.py): finished with status 'done'
#13 1.692 Collecting django==4.0.6
#13 1.717   Using cached Django-4.0.6-py3-none-any.whl (8.0 MB)
#13 1.773 Collecting djangorestframework==3.13.1
#13 1.775   Using cached djangorestframework-3.13.1-py3-none-any.whl (958 kB)
#13 1.796 Collecting entrypoints==0.4
#13 1.797   Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
#13 1.814 Collecting et-xmlfile==1.1.0
#13 1.815   Using cached et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
#13 1.841 Collecting executing==0.9.1
#13 1.842   Using cached executing-0.9.1-py2.py3-none-any.whl (16 kB)
#13 1.867 Collecting fastjsonschema==2.16.1
#13 1.868   Using cached fastjsonschema-2.16.1-py3-none-any.whl (22 kB)
#13 1.890 Collecting gunicorn==20.1.0
#13 1.890   Using cached gunicorn-20.1.0-py3-none-any.whl (79 kB)
#13 1.909 Collecting hashids==1.3.1
#13 1.910   Using cached hashids-1.3.1-py2.py3-none-any.whl (6.6 kB)
#13 1.941 Collecting ipykernel==6.15.1
#13 1.942   Using cached ipykernel-6.15.1-py3-none-any.whl (132 kB)
#13 1.963 Collecting ipython-genutils==0.2.0
#13 1.964   Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
#13 2.001 Collecting ipython==8.4.0
#13 2.003   Using cached ipython-8.4.0-py3-none-any.whl (750 kB)
#13 2.029 Collecting jedi==0.18.1
#13 2.032   Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
#13 2.074 Collecting jinja2==3.1.2
#13 2.075   Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
#13 2.101 Collecting jsonschema==4.7.2
#13 2.102   Using cached jsonschema-4.7.2-py3-none-any.whl (81 kB)
#13 2.128 Collecting jupyter-client==7.3.4
#13 2.129   Using cached jupyter_client-7.3.4-py3-none-any.whl (132 kB)
#13 2.152 Collecting jupyter-core==4.11.1
#13 2.153   Using cached jupyter_core-4.11.1-py3-none-any.whl (88 kB)
#13 2.182 Collecting jupyterlab-pygments==0.2.2
#13 2.183   Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
#13 2.219 Collecting markupsafe==2.1.1
#13 2.220   Using cached MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
#13 2.240 Collecting matplotlib-inline==0.1.3
#13 2.241   Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
#13 2.263 Collecting mistune==0.8.4
#13 2.264   Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
#13 2.308 Collecting mysql-connector-python==8.0.30
#13 2.310   Using cached mysql_connector_python-8.0.30-py2.py3-none-any.whl (351 kB)
#13 2.334 Collecting mysqlclient==2.1.1
#13 2.335   Using cached mysqlclient-2.1.1.tar.gz (88 kB)
#13 2.344   Preparing metadata (setup.py): started
#13 2.432   Preparing metadata (setup.py): finished with status 'error'
#13 2.435   error: subprocess-exited-with-error
#13 2.435
#13 2.435   × python setup.py egg_info did not run successfully.
#13 2.435   │ exit code: 1
#13 2.435   ╰─> [16 lines of output]
#13 2.435       /bin/sh: 1: mysql_config: not found
#13 2.435       /bin/sh: 1: mariadb_config: not found
#13 2.435       /bin/sh: 1: mysql_config: not found
#13 2.435       Traceback (most recent call last):
#13 2.435         File "<string>", line 2, in <module>
#13 2.435         File "<pip-setuptools-caller>", line 34, in <module>
#13 2.435         File "/tmp/pip-install-mbdi6q9e/mysqlclient_3c45797ef9a34346a0cae3c665d8efca/setup.py", line 15, in <module>
#13 2.435           metadata, options = get_config()
#13 2.435         File "/tmp/pip-install-mbdi6q9e/mysqlclient_3c45797ef9a34346a0cae3c665d8efca/setup_posix.py", line 70, in get_config
#13 2.435           libs = mysql_config("libs")
#13 2.435         File "/tmp/pip-install-mbdi6q9e/mysqlclient_3c45797ef9a34346a0cae3c665d8efca/setup_posix.py", line 31, in mysql_config
#13 2.435           raise OSError("{} not found".format(_mysql_config_path))
#13 2.435       OSError: mysql_config not found
#13 2.435       mysql_config --version
#13 2.435       mariadb_config --version
#13 2.435       mysql_config --libs
#13 2.435       [end of output]
#13 2.435
#13 2.435   note: This error originates from a subprocess, and is likely not a problem with pip.
#13 2.436 error: metadata-generation-failed
#13 2.436
#13 2.436 × Encountered error while generating package metadata.
#13 2.436 ╰─> See above for output.
#13 2.436
#13 2.436 note: This is an issue with the package mentioned above, not pip.
#13 2.436 hint: See above for details.
------
executor failed running [/bin/sh -c pip install -r /tmp/requirements.txt]: exit code: 1
(celly-pick-database-env) ☁  CellyPick [test] ⚡  docker build -t celly-pick-test .
[+] Building 5.7s (13/16)
 => [internal] load build definition from Dockerfile                                                                                                                                                                                              0.0s
 => => transferring dockerfile: 1.01kB                                                                                                                                                                                                            0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                                                                   0.0s
 => resolve image config for docker.io/docker/dockerfile:experimental                                                                                                                                                                             1.3s
 => CACHED docker-image://docker.io/docker/dockerfile:experimental@sha256:600e5c62eedff338b3f7a0850beb7c05866e0ef27b2d2e8c02aa468e78496ff5                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/python:3.10-slim                                                                                                                                                                               1.0s
 => [internal] load build context                                                                                                                                                                                                                 0.0s
 => => transferring context: 58.63kB                                                                                                                                                                                                              0.0s
 => [stage-0 1/9] FROM docker.io/library/python:3.10-slim@sha256:f2ee145f3bc4e061f8dfe7e6ebd427a410121495a0bd26e7622136db060c59e0                                                                                                                 0.0s
 => [internal] settings cache mount permissions                                                                                                                                                                                                   0.0s
 => CACHED [stage-0 2/9] RUN         ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && echo Asia/Seoul > /etc/timezone                                                                                                                     0.0s
 => CACHED [stage-0 3/9] RUN         apt -y update &&            apt -y full-upgrade &&            apt -y install gettext &&             apt -y install libmagic1 &&             apt -y autoremove                                                0.0s
 => CACHED [stage-0 4/9] RUN         apt -y install gcc libpq-dev &&            pip install psycopg2-binary --no-binary psycopg2-binary &&            apt -y autoremove                                                                           0.0s
 => CACHED [stage-0 5/9] COPY        requirements.txt /tmp/requirements.txt                                                                                                                                                                       0.0s
 => ERROR [stage-0 6/9] RUN         --mount=type=cache,mode=0777,target=/root/.cache/pip pip install -r /tmp/requirements.txt                                                                                                                     3.2s
------
 > [stage-0 6/9] RUN         --mount=type=cache,mode=0777,target=/root/.cache/pip pip install -r /tmp/requirements.txt:
#13 0.330 Ignoring appnope: markers 'platform_system == "Darwin" and python_version >= "3.8" and sys_platform == "darwin"' don't match your environment
#13 0.330 Ignoring cffi: markers 'implementation_name == "pypy" and python_version >= "3.7"' don't match your environment
#13 0.330 Ignoring colorama: markers 'python_version >= "3.8" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.8" and python_full_version >= "3.5.0"' don't match your environment
#13 0.332 Ignoring py: markers 'python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.5.0"' don't match your environment
#13 0.332 Ignoring pycparser: markers 'python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.4.0"' don't match your environment
#13 0.332 Ignoring pywin32: markers 'sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.7"' don't match your environment
#13 0.332 Ignoring pywinpty: markers 'os_name == "nt" and python_version >= "3.7"' don't match your environment
#13 0.333 Ignoring tzdata: markers 'sys_platform == "win32" and python_version >= "3.8"' don't match your environment
#13 0.392 Collecting argon2-cffi-bindings==21.2.0
#13 0.476   Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (80 kB)
#13 0.496      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 kB 4.0 MB/s eta 0:00:00
#13 0.533 Collecting argon2-cffi==21.3.0
#13 0.556   Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
#13 0.584 Collecting asgiref==3.5.2
#13 0.607   Downloading asgiref-3.5.2-py3-none-any.whl (22 kB)
#13 0.630 Collecting asttokens==2.0.5
#13 0.646   Downloading asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
#13 0.670 Collecting attrs==21.4.0
#13 0.690   Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
#13 0.694      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 26.3 MB/s eta 0:00:00
#13 0.711 Collecting backcall==0.2.0
#13 0.725   Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
#13 0.768 Collecting beautifulsoup4==4.11.1
#13 0.779   Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
#13 0.788      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 kB 16.7 MB/s eta 0:00:00
#13 0.812 Collecting bleach==5.0.1
#13 0.827   Downloading bleach-5.0.1-py3-none-any.whl (160 kB)
#13 0.832      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.9/160.9 kB 35.5 MB/s eta 0:00:00
#13 0.918 Collecting debugpy==1.6.2
#13 0.969   Downloading debugpy-1.6.2-py2.py3-none-any.whl (4.4 MB)
#13 1.062      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 48.1 MB/s eta 0:00:00
#13 1.090 Collecting decorator==5.1.1
#13 1.103   Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
#13 1.131 Collecting defusedxml==0.7.1
#13 1.156   Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
#13 1.184 Collecting django-extensions==3.2.0
#13 1.199   Downloading django_extensions-3.2.0-py3-none-any.whl (229 kB)
#13 1.207      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.1/229.1 kB 30.8 MB/s eta 0:00:00
#13 1.230 Collecting django-hashid-field==3.3.5
#13 1.251   Downloading django_hashid_field-3.3.5-py3-none-any.whl (19 kB)
#13 1.276 Collecting django-phonenumber-field==6.3.0
#13 1.299   Downloading django_phonenumber_field-6.3.0-py3-none-any.whl (65 kB)
#13 1.303      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.6/65.6 kB 28.1 MB/s eta 0:00:00
#13 1.322 Collecting django-rest-framework==0.1.0
#13 1.334   Downloading django-rest-framework-0.1.0.tar.gz (969 bytes)
#13 1.338   Preparing metadata (setup.py): started
#13 1.429   Preparing metadata (setup.py): finished with status 'done'
#13 1.491 Collecting django==4.0.6
#13 1.504   Downloading Django-4.0.6-py3-none-any.whl (8.0 MB)
#13 1.664      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 50.8 MB/s eta 0:00:00
#13 1.719 Collecting djangorestframework==3.13.1
#13 1.733   Downloading djangorestframework-3.13.1-py3-none-any.whl (958 kB)
#13 1.769      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 958.3/958.3 kB 27.2 MB/s eta 0:00:00
#13 1.798 Collecting entrypoints==0.4
#13 1.821   Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
#13 1.849 Collecting et-xmlfile==1.1.0
#13 1.878   Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
#13 1.910 Collecting executing==0.9.1
#13 1.922   Downloading executing-0.9.1-py2.py3-none-any.whl (16 kB)
#13 1.959 Collecting fastjsonschema==2.16.1
#13 1.982   Downloading fastjsonschema-2.16.1-py3-none-any.whl (22 kB)
#13 2.017 Collecting gunicorn==20.1.0
#13 2.050   Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
#13 2.053      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 40.6 MB/s eta 0:00:00
#13 2.080 Collecting hashids==1.3.1
#13 2.102   Downloading hashids-1.3.1-py2.py3-none-any.whl (6.6 kB)
#13 2.146 Collecting ipykernel==6.15.1
#13 2.161   Downloading ipykernel-6.15.1-py3-none-any.whl (132 kB)
#13 2.175      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.9/132.9 kB 9.7 MB/s eta 0:00:00
#13 2.203 Collecting ipython-genutils==0.2.0
#13 2.221   Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
#13 2.274 Collecting ipython==8.4.0
#13 2.290   Downloading ipython-8.4.0-py3-none-any.whl (750 kB)
#13 2.314      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 750.8/750.8 kB 32.1 MB/s eta 0:00:00
#13 2.349 Collecting jedi==0.18.1
#13 2.361   Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
#13 2.396      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 46.9 MB/s eta 0:00:00
#13 2.434 Collecting jinja2==3.1.2
#13 2.446   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
#13 2.456      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 14.5 MB/s eta 0:00:00
#13 2.489 Collecting jsonschema==4.7.2
#13 2.502   Downloading jsonschema-4.7.2-py3-none-any.whl (81 kB)
#13 2.510      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 10.3 MB/s eta 0:00:00
#13 2.544 Collecting jupyter-client==7.3.4
#13 2.558   Downloading jupyter_client-7.3.4-py3-none-any.whl (132 kB)
#13 2.569      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.1/132.1 kB 13.8 MB/s eta 0:00:00
#13 2.605 Collecting jupyter-core==4.11.1
#13 2.624   Downloading jupyter_core-4.11.1-py3-none-any.whl (88 kB)
#13 2.628      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.4/88.4 kB 25.1 MB/s eta 0:00:00
#13 2.652 Collecting jupyterlab-pygments==0.2.2
#13 2.667   Downloading jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
#13 2.729 Collecting markupsafe==2.1.1
#13 2.742   Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
#13 2.774 Collecting matplotlib-inline==0.1.3
#13 2.791   Downloading matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
#13 2.815 Collecting mistune==0.8.4
#13 2.827   Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
#13 2.882 Collecting mysql-connector-python==8.0.30
#13 2.905   Downloading mysql_connector_python-8.0.30-py2.py3-none-any.whl (351 kB)
#13 2.912      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 351.6/351.6 kB 71.6 MB/s eta 0:00:00
#13 2.941 Collecting mysqlclient==2.1.1
#13 2.955   Downloading mysqlclient-2.1.1.tar.gz (88 kB)
#13 2.958      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.1/88.1 kB 36.4 MB/s eta 0:00:00
#13 2.969   Preparing metadata (setup.py): started
#13 3.055   Preparing metadata (setup.py): finished with status 'error'
#13 3.058   error: subprocess-exited-with-error
#13 3.058
#13 3.058   × python setup.py egg_info did not run successfully.
#13 3.058   │ exit code: 1
#13 3.058   ╰─> [16 lines of output]
#13 3.058       /bin/sh: 1: mysql_config: not found
#13 3.058       /bin/sh: 1: mariadb_config: not found
#13 3.058       /bin/sh: 1: mysql_config: not found
#13 3.058       Traceback (most recent call last):
#13 3.058         File "<string>", line 2, in <module>
#13 3.058         File "<pip-setuptools-caller>", line 34, in <module>
#13 3.058         File "/tmp/pip-install-g9e2w1x3/mysqlclient_0c199296695d4759bc9418543288952d/setup.py", line 15, in <module>
#13 3.058           metadata, options = get_config()
#13 3.058         File "/tmp/pip-install-g9e2w1x3/mysqlclient_0c199296695d4759bc9418543288952d/setup_posix.py", line 70, in get_config
#13 3.058           libs = mysql_config("libs")
#13 3.058         File "/tmp/pip-install-g9e2w1x3/mysqlclient_0c199296695d4759bc9418543288952d/setup_posix.py", line 31, in mysql_config
#13 3.058           raise OSError("{} not found".format(_mysql_config_path))
#13 3.058       OSError: mysql_config not found
#13 3.058       mysql_config --version
#13 3.058       mariadb_config --version
#13 3.058       mysql_config --libs
#13 3.058       [end of output]
#13 3.058
#13 3.058   note: This error originates from a subprocess, and is likely not a problem with pip.
#13 3.059 error: metadata-generation-failed
#13 3.059
#13 3.059 × Encountered error while generating package metadata.
#13 3.059 ╰─> See above for output.
#13 3.059
#13 3.059 note: This is an issue with the package mentioned above, not pip.
#13 3.059 hint: See above for details.

처음에 검색해서 라이브러리 update 했더니 안됨
× python setup.py egg_info did not run successfully.
poetry install setuptools

두번째 mysql_config 여기 프로젝트에서 mysql 데이터 이전 하는 것이기 때문에

/bin/sh: 1: mysql_config: not found 검색해서
https://stackoverflow.com/questions/7475223/mysql-config-not-found-when-installing-mysqldb-python-interface
해결책 발견!

RUN apt -y install default-libmysqlclient-dev
추가해줌 Dockerfile에

0개의 댓글

관련 채용 정보