Getting error on Vercel while trying to deploy Django

Hello everyone, I build my django project and tried to deploy it in vercel. but I get this error message in vercel.
my python version = 3.10.0

[02:35:58.935] Running build in Washington, D.C., USA (East) – iad1
[02:35:59.090] Cloning github.com/LetcodeitwithDave/BookHaven (Branch: master, Commit: e6ac0c7)
[02:35:59.101] Skipping build cache, deployment was triggered without cache.
[02:36:00.037] Cloning completed: 946.92ms
[02:36:00.592] Running "vercel build"
[02:36:01.084] Vercel CLI 33.5.3
[02:36:01.311] WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
[02:36:02.677] Collecting asgiref==3.7.2 (from -r requirements.txt (line 1))
[02:36:02.711]   Downloading asgiref-3.7.2-py3-none-any.whl.metadata (9.2 kB)
[02:36:02.741] Collecting certifi==2024.2.2 (from -r requirements.txt (line 2))
[02:36:02.746]   Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
[02:36:02.841] Collecting charset-normalizer==3.3.2 (from -r requirements.txt (line 3))
[02:36:02.846]   Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
[02:36:02.866] Collecting dj-database-url==2.1.0 (from -r requirements.txt (line 4))
[02:36:02.901]   Downloading dj_database_url-2.1.0-py3-none-any.whl.metadata (11 kB)
[02:36:03.002] Collecting Django==4.2.10 (from -r requirements.txt (line 5))
[02:36:03.018]   Downloading Django-4.2.10-py3-none-any.whl.metadata (4.1 kB)
[02:36:03.039] Collecting django-browser-reload==1.12.1 (from -r requirements.txt (line 6))
[02:36:03.049]   Downloading django_browser_reload-1.12.1-py3-none-any.whl.metadata (9.8 kB)
[02:36:03.101] Collecting django-cors-headers==4.3.1 (from -r requirements.txt (line 7))
[02:36:03.106]   Downloading django_cors_headers-4.3.1-py3-none-any.whl.metadata (16 kB)
[02:36:03.129] Collecting django-environ==0.11.2 (from -r requirements.txt (line 8))
[02:36:03.139]   Downloading django_environ-0.11.2-py2.py3-none-any.whl.metadata (11 kB)
[02:36:03.164] Collecting django-filter==23.5 (from -r requirements.txt (line 9))
[02:36:03.172]   Downloading django_filter-23.5-py3-none-any.whl.metadata (5.2 kB)
[02:36:03.214] Collecting djangorestframework==3.14.0 (from -r requirements.txt (line 10))
[02:36:03.220]   Downloading djangorestframework-3.14.0-py3-none-any.whl.metadata (10 kB)
[02:36:03.239] Collecting fontawesomefree==6.5.1 (from -r requirements.txt (line 11))
[02:36:03.251]   Downloading fontawesomefree-6.5.1-py3-none-any.whl.metadata (824 bytes)
[02:36:03.280] Collecting gunicorn==21.2.0 (from -r requirements.txt (line 12))
[02:36:03.286]   Downloading gunicorn-21.2.0-py3-none-any.whl.metadata (4.1 kB)
[02:36:03.306] Collecting idna==3.6 (from -r requirements.txt (line 13))
[02:36:03.334]   Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
[02:36:03.367] Collecting Markdown==3.5.2 (from -r requirements.txt (line 14))
[02:36:03.373]   Downloading Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB)
[02:36:03.404] Collecting packaging==23.2 (from -r requirements.txt (line 15))
[02:36:03.410]   Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
[02:36:03.636] Collecting pillow==10.2.0 (from -r requirements.txt (line 16))
[02:36:03.642]   Downloading pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
[02:36:03.729] Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 17))
[02:36:03.736]   Downloading psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
[02:36:03.754] Collecting py-postgresql==1.3.0 (from -r requirements.txt (line 18))
[02:36:03.766]   Downloading py-postgresql-1.3.0.tar.gz (273 kB)
[02:36:03.774]      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.8/273.8 kB 61.4 MB/s eta 0:00:00
[02:36:03.821]   Installing build dependencies: started
[02:36:06.478]   Installing build dependencies: finished with status 'done'
[02:36:06.480]   Getting requirements to build wheel: started
[02:36:06.659]   Getting requirements to build wheel: finished with status 'done'
[02:36:06.662]   Preparing metadata (pyproject.toml): started
[02:36:06.864]   Preparing metadata (pyproject.toml): finished with status 'done'
[02:36:06.974] Collecting pytz==2024.1 (from -r requirements.txt (line 19))
[02:36:06.980]   Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
[02:36:07.026] Collecting requests==2.31.0 (from -r requirements.txt (line 20))
[02:36:07.031]   Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
[02:36:07.051] Collecting sqlparse==0.4.4 (from -r requirements.txt (line 21))
[02:36:07.057]   Downloading sqlparse-0.4.4-py3-none-any.whl.metadata (4.0 kB)
[02:36:07.084] Collecting typing_extensions==4.10.0 (from -r requirements.txt (line 22))
[02:36:07.090]   Downloading typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
[02:36:07.140] Collecting tzdata==2024.1 (from -r requirements.txt (line 23))
[02:36:07.148]   Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
[02:36:07.199] Collecting urllib3==2.2.0 (from -r requirements.txt (line 24))
[02:36:07.205]   Downloading urllib3-2.2.0-py3-none-any.whl.metadata (6.4 kB)
[02:36:07.406] Collecting importlib-metadata>=4.4 (from Markdown==3.5.2->-r requirements.txt (line 14))
[02:36:07.413]   Downloading importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB)
[02:36:07.562] Collecting zipp>=0.5 (from importlib-metadata>=4.4->Markdown==3.5.2->-r requirements.txt (line 14))
[02:36:07.568]   Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)
[02:36:07.603] Downloading asgiref-3.7.2-py3-none-any.whl (24 kB)
[02:36:07.610] Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
[02:36:07.617]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 63.2 MB/s eta 0:00:00
[02:36:07.631] Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
[02:36:07.637]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.3/142.3 kB 51.8 MB/s eta 0:00:00
[02:36:07.643] Downloading dj_database_url-2.1.0-py3-none-any.whl (7.7 kB)
[02:36:07.655] Downloading Django-4.2.10-py3-none-any.whl (8.0 MB)
[02:36:07.738]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 99.2 MB/s eta 0:00:00
[02:36:07.750] Downloading django_browser_reload-1.12.1-py3-none-any.whl (12 kB)
[02:36:07.757] Downloading django_cors_headers-4.3.1-py3-none-any.whl (12 kB)
[02:36:07.767] Downloading django_environ-0.11.2-py2.py3-none-any.whl (19 kB)
[02:36:07.775] Downloading django_filter-23.5-py3-none-any.whl (94 kB)
[02:36:07.780]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.4/94.4 kB 35.1 MB/s eta 0:00:00
[02:36:07.789] Downloading djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
[02:36:07.803]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 101.2 MB/s eta 0:00:00
[02:36:07.812] Downloading fontawesomefree-6.5.1-py3-none-any.whl (25.6 MB)
[02:36:08.067]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 MB 79.3 MB/s eta 0:00:00
[02:36:08.073] Downloading gunicorn-21.2.0-py3-none-any.whl (80 kB)
[02:36:08.080]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.2/80.2 kB 30.6 MB/s eta 0:00:00
[02:36:08.085] Downloading idna-3.6-py3-none-any.whl (61 kB)
[02:36:08.091]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 23.9 MB/s eta 0:00:00
[02:36:08.097] Downloading Markdown-3.5.2-py3-none-any.whl (103 kB)
[02:36:08.102]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.9/103.9 kB 41.5 MB/s eta 0:00:00
[02:36:08.107] Downloading packaging-23.2-py3-none-any.whl (53 kB)
[02:36:08.112]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 18.7 MB/s eta 0:00:00
[02:36:08.121] Downloading pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB)
[02:36:08.154]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 148.5 MB/s eta 0:00:00
[02:36:08.162] Downloading psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
[02:36:08.187]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 137.8 MB/s eta 0:00:00
[02:36:08.193] Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
[02:36:08.202]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 87.8 MB/s eta 0:00:00
[02:36:08.209] Downloading requests-2.31.0-py3-none-any.whl (62 kB)
[02:36:08.215]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 21.5 MB/s eta 0:00:00
[02:36:08.221] Downloading sqlparse-0.4.4-py3-none-any.whl (41 kB)
[02:36:08.229]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB 7.7 MB/s eta 0:00:00
[02:36:08.234] Downloading typing_extensions-4.10.0-py3-none-any.whl (33 kB)
[02:36:08.247] Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
[02:36:08.255]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 71.2 MB/s eta 0:00:00
[02:36:08.262] Downloading urllib3-2.2.0-py3-none-any.whl (120 kB)
[02:36:08.269]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.9/120.9 kB 24.9 MB/s eta 0:00:00
[02:36:08.274] Downloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB)
[02:36:08.283] Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
[02:36:08.512] Building wheels for collected packages: py-postgresql
[02:36:08.514]   Building wheel for py-postgresql (pyproject.toml): started
[02:36:09.604]   Building wheel for py-postgresql (pyproject.toml): finished with status 'done'
[02:36:09.606]   Created wheel for py-postgresql: filename=py_postgresql-1.3.0-cp39-cp39-linux_x86_64.whl size=289740 sha256=344d157dd7a6ae7629e69b45e085ebd846c96650902fd43171197e7b44e8509b
[02:36:09.606]   Stored in directory: /vercel/.cache/pip/wheels/f3/dd/e4/1cd4eac87031f7697d7ad1bab9c7f27065298256a6846f492f
[02:36:09.610] Successfully built py-postgresql
[02:36:09.879] Installing collected packages: pytz, fontawesomefree, zipp, urllib3, tzdata, typing_extensions, sqlparse, py-postgresql, psycopg2-binary, pillow, packaging, idna, django-environ, charset-normalizer, certifi, requests, importlib-metadata, gunicorn, asgiref, Markdown, Django, djangorestframework, django-filter, django-cors-headers, django-browser-reload, dj-database-url
[02:36:15.068] Successfully installed Django-4.2.10 Markdown-3.5.2 asgiref-3.7.2 certifi-2024.2.2 charset-normalizer-3.3.2 dj-database-url-2.1.0 django-browser-reload-1.12.1 django-cors-headers-4.3.1 django-environ-0.11.2 django-filter-23.5 djangorestframework-3.14.0 fontawesomefree-6.5.1 gunicorn-21.2.0 idna-3.6 importlib-metadata-7.0.1 packaging-23.2 pillow-10.2.0 psycopg2-binary-2.9.9 py-postgresql-1.3.0 pytz-2024.1 requests-2.31.0 sqlparse-0.4.4 typing_extensions-4.10.0 tzdata-2024.1 urllib3-2.2.0 zipp-3.17.0
[02:36:15.071] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[02:36:15.072] 
[02:36:15.072] [notice] A new release of pip is available: 23.3.2 -> 24.0
[02:36:15.072] [notice] To update, run: pip install --upgrade pip
[02:36:19.272]   File "manage.py", line 17
[02:36:19.273]     ) from exc
[02:36:19.273]          ^
[02:36:19.273] SyntaxError: invalid syntax
[02:36:19.277] Error: Command "./build_files.sh" exited with 1
[02:36:19.525] 

I already remove the psycopg2 in the requirements.txt:

asgiref==3.7.2
certifi==2024.2.2
charset-normalizer==3.3.2
dj-database-url==2.1.0
Django==4.2.10
django-browser-reload==1.12.1
django-cors-headers==4.3.1
django-environ==0.11.2
django-filter==23.5
djangorestframework==3.14.0
fontawesomefree==6.5.1
gunicorn==21.2.0
idna==3.6
Markdown==3.5.2
packaging==23.2
pillow==10.2.0
psycopg2-binary==2.9.9
py-postgresql==1.3.0
pytz==2024.1
requests==2.31.0
sqlparse==0.4.4
typing_extensions==4.10.0
tzdata==2024.1
urllib3==2.2.0

this is my build_files.sh

#!/bin/bash

pip install -r requirements.txt
python manage.py collectstatic

this is my vercel.json

{
    "version": 2,
    "builds": [
      {
        "src": "BookHaven/wsgi.py",
        "use": "@vercel/python",
        "config": { "maxLambdaSize": "15mb", "runtime": "python3.10.0" }
      },
      {
        "src": "build_files.sh",
        "use": "@vercel/static-build",
        "config": {
          "distDir": "staticfiles_build"
        }
      }
    ],
    "routes": [
      {
        "src": "/static/(.*)",
        "dest": "/static/$1"
      },
      {
        "src": "/(.*)",
        "dest": "BookHaven/wsgi.py"
      }
    ]
  }

this is my manage.py file

#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys


def main():
    """Run administrative tasks."""
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mysite.settings')
    try:
        from django.core.management import execute_from_command_line
    except ImportError as exc:
        raise ImportError(
            "Couldn't import Django. Are you sure it's installed and "
            "available on your PYTHONPATH environment variable? Did you "
            "forget to activate a virtual environment?"
        ) from exc
    execute_from_command_line(sys.argv)


if __name__ == '__main__':
    main()

i was finally able to solve this part of the issue, it was coming from .build_files.sh , i didn’t configure it well, this is what i finally did for it to work

#!/bin/bash
# Build the project
echo "Building the project..."
python3.9 -m pip install -r requirements.txt

echo "Make Migration..."
python3.9 manage.py makemigrations --noinput
python3.9 manage.py migrate --noinput

echo "Collect Static..."
python3.9 manage.py collectstatic --noinput --clear

**but now i am facing another issue on vercel, saying **

[11:35:58.465] Running build in Washington, D.C., USA (East) – iad1
[11:35:58.607] Cloning github.com/LetcodeitwithDave/BookHaven (Branch: master, Commit: a485a52)
[11:35:58.618] Skipping build cache, deployment was triggered without cache.
[11:35:59.724] Cloning completed: 1.117s
[11:36:00.282] Running "vercel build"
[11:36:00.778] Vercel CLI 33.5.3
[11:36:00.992] WARN! Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
[11:36:02.310] Building the project...
[11:36:03.550] Collecting asgiref==3.7.2 (from -r requirements.txt (line 1))
[11:36:03.581]   Downloading asgiref-3.7.2-py3-none-any.whl.metadata (9.2 kB)
[11:36:03.607] Collecting dj-database-url==2.1.0 (from -r requirements.txt (line 2))
[11:36:03.612]   Downloading dj_database_url-2.1.0-py3-none-any.whl.metadata (11 kB)
[11:36:03.716] Collecting Django==4.2.10 (from -r requirements.txt (line 3))
[11:36:03.722]   Downloading Django-4.2.10-py3-none-any.whl.metadata (4.1 kB)
[11:36:03.744] Collecting django-browser-reload==1.12.1 (from -r requirements.txt (line 4))
[11:36:03.749]   Downloading django_browser_reload-1.12.1-py3-none-any.whl.metadata (9.8 kB)
[11:36:03.782] Collecting django-environ==0.11.2 (from -r requirements.txt (line 5))
[11:36:03.791]   Downloading django_environ-0.11.2-py2.py3-none-any.whl.metadata (11 kB)
[11:36:03.811] Collecting fontawesomefree==6.5.1 (from -r requirements.txt (line 6))
[11:36:03.817]   Downloading fontawesomefree-6.5.1-py3-none-any.whl.metadata (824 bytes)
[11:36:03.850] Collecting gunicorn==21.2.0 (from -r requirements.txt (line 7))
[11:36:03.855]   Downloading gunicorn-21.2.0-py3-none-any.whl.metadata (4.1 kB)
[11:36:04.084] Collecting pillow==10.2.0 (from -r requirements.txt (line 8))
[11:36:04.092]   Downloading pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
[11:36:04.180] Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 9))
[11:36:04.186]   Downloading psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
[11:36:04.207] Collecting py-postgresql==1.3.0 (from -r requirements.txt (line 10))
[11:36:04.214]   Downloading py-postgresql-1.3.0.tar.gz (273 kB)
[11:36:04.223]      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.8/273.8 kB 52.3 MB/s eta 0:00:00
[11:36:04.270]   Installing build dependencies: started
[11:36:05.853]   Installing build dependencies: finished with status 'done'
[11:36:05.855]   Getting requirements to build wheel: started
[11:36:06.026]   Getting requirements to build wheel: finished with status 'done'
[11:36:06.029]   Preparing metadata (pyproject.toml): started
[11:36:06.552]   Preparing metadata (pyproject.toml): finished with status 'done'
[11:36:06.571] Collecting python-decouple==3.8 (from -r requirements.txt (line 11))
[11:36:06.591]   Downloading python_decouple-3.8-py3-none-any.whl.metadata (14 kB)
[11:36:06.623] Collecting python-dotenv==1.0.1 (from -r requirements.txt (line 12))
[11:36:06.628]   Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
[11:36:06.699] Collecting pytz==2024.1 (from -r requirements.txt (line 13))
[11:36:06.704]   Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
[11:36:06.726] Collecting sqlparse==0.4.4 (from -r requirements.txt (line 14))
[11:36:06.731]   Downloading sqlparse-0.4.4-py3-none-any.whl.metadata (4.0 kB)
[11:36:06.765] Collecting typing-extensions>=4 (from asgiref==3.7.2->-r requirements.txt (line 1))
[11:36:06.771]   Downloading typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
[11:36:06.868] Collecting packaging (from gunicorn==21.2.0->-r requirements.txt (line 7))
[11:36:06.875]   Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
[11:36:06.966] Downloading asgiref-3.7.2-py3-none-any.whl (24 kB)
[11:36:06.974] Downloading dj_database_url-2.1.0-py3-none-any.whl (7.7 kB)
[11:36:06.986] Downloading Django-4.2.10-py3-none-any.whl (8.0 MB)
[11:36:07.042]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 155.7 MB/s eta 0:00:00
[11:36:07.048] Downloading django_browser_reload-1.12.1-py3-none-any.whl (12 kB)
[11:36:07.056] Downloading django_environ-0.11.2-py2.py3-none-any.whl (19 kB)
[11:36:07.068] Downloading fontawesomefree-6.5.1-py3-none-any.whl (25.6 MB)
[11:36:07.263]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 MB 79.5 MB/s eta 0:00:00
[11:36:07.268] Downloading gunicorn-21.2.0-py3-none-any.whl (80 kB)
[11:36:07.275]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.2/80.2 kB 21.9 MB/s eta 0:00:00
[11:36:07.284] Downloading pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB)
[11:36:07.332]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 99.4 MB/s eta 0:00:00
[11:36:07.342] Downloading psycopg2_binary-2.9.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
[11:36:07.381]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 84.8 MB/s eta 0:00:00
[11:36:07.386] Downloading python_decouple-3.8-py3-none-any.whl (9.9 kB)
[11:36:07.393] Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)
[11:36:07.401] Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
[11:36:07.409]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 108.2 MB/s eta 0:00:00
[11:36:07.414] Downloading sqlparse-0.4.4-py3-none-any.whl (41 kB)
[11:36:07.419]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB 15.2 MB/s eta 0:00:00
[11:36:07.424] Downloading typing_extensions-4.10.0-py3-none-any.whl (33 kB)
[11:36:07.432] Downloading packaging-23.2-py3-none-any.whl (53 kB)
[11:36:07.437]    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 20.7 MB/s eta 0:00:00
[11:36:07.605] Building wheels for collected packages: py-postgresql
[11:36:07.609]   Building wheel for py-postgresql (pyproject.toml): started
[11:36:08.639]   Building wheel for py-postgresql (pyproject.toml): finished with status 'done'
[11:36:08.641]   Created wheel for py-postgresql: filename=py_postgresql-1.3.0-cp39-cp39-linux_x86_64.whl size=289745 sha256=8058edb6f952ad8dcc5cea4bd27ff83ff42c23ac774906849c6dc577d3b292ad
[11:36:08.642]   Stored in directory: /vercel/.cache/pip/wheels/f3/dd/e4/1cd4eac87031f7697d7ad1bab9c7f27065298256a6846f492f
[11:36:08.645] Successfully built py-postgresql
[11:36:08.840] Installing collected packages: pytz, python-decouple, fontawesomefree, typing-extensions, sqlparse, python-dotenv, py-postgresql, psycopg2-binary, pillow, packaging, django-environ, gunicorn, asgiref, Django, django-browser-reload, dj-database-url
[11:36:13.452] Successfully installed Django-4.2.10 asgiref-3.7.2 dj-database-url-2.1.0 django-browser-reload-1.12.1 django-environ-0.11.2 fontawesomefree-6.5.1 gunicorn-21.2.0 packaging-23.2 pillow-10.2.0 psycopg2-binary-2.9.9 py-postgresql-1.3.0 python-decouple-3.8 python-dotenv-1.0.1 pytz-2024.1 sqlparse-0.4.4 typing-extensions-4.10.0
[11:36:13.453] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[11:36:13.455] 
[11:36:13.455] [notice] A new release of pip is available: 23.3.2 -> 24.0
[11:36:13.455] [notice] To update, run: pip install --upgrade pip
[11:36:13.661] Make Migration...
[11:36:14.644] No changes detected
[11:36:17.485] Operations to perform:
[11:36:17.485]   Apply all migrations: admin, auth, contenttypes, homepage, sessions
[11:36:17.485] Running migrations:
[11:36:17.485]   No migrations to apply.
[11:36:17.565] Collect Static...
[11:36:21.783] 
[11:36:21.784] 12504 static files copied to '/vercel/path0/staticfiles_build/static'.
[11:36:22.682] Installing required dependencies...
[11:36:34.043] Build Completed in /vercel/output [32s]
[11:36:36.463] Deploying outputs...
[11:37:12.538] Error: A Serverless Function has exceeded the unzipped maximum size of 250 MB. : https://vercel.link/serverless-function-size
[11:37:14.801]

i would humbly appreciate your help

What do you think this error message is telling you?

What information do you get from following the link specified in that error message?

1 Like