Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

部署vercel报错 #22

Open
jacktain opened this issue Jul 30, 2024 · 0 comments
Open

部署vercel报错 #22

jacktain opened this issue Jul 30, 2024 · 0 comments

Comments

@jacktain
Copy link

[11:24:15.280] Running build in Washington, D.C., USA (East) – iad1
[11:24:15.428] Cloning github.com/jacktain/news (Branch: main, Commit: bfb1773)
[11:24:15.690] Cloning completed: 261.455ms
[11:24:15.850] Previous build cache not available
[11:24:16.041] Running "vercel build"
[11:24:16.527] Vercel CLI 35.2.1
[11:24:16.725] Installing required dependencies...
[11:24:23.992] Failed to run "pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/api/requirements.txt"
[11:24:23.993] Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/api/requirements.txt
[11:24:23.993] error: subprocess-exited-with-error
[11:24:23.994]
[11:24:23.994] × Getting requirements to build wheel did not run successfully.
[11:24:23.994] │ exit code: 1
[11:24:23.994] ╰─> [5 lines of output]
[11:24:23.994] :114: SyntaxWarning: invalid escape sequence '.'
[11:24:23.994] :67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
[11:24:23.994] Building lxml version 4.9.1.
[11:24:23.994] Building without Cython.
[11:24:23.995] Error: Please make sure the libxml2 and libxslt development packages are installed.
[11:24:23.995] [end of output]
[11:24:23.995]
[11:24:23.995] note: This error originates from a subprocess, and is likely not a problem with pip.
[11:24:23.995] error: subprocess-exited-with-error
[11:24:23.995]
[11:24:23.995] × Getting requirements to build wheel did not run successfully.
[11:24:23.995] │ exit code: 1
[11:24:23.995] ╰─> See above for output.
[11:24:23.995]
[11:24:23.996] note: This error originates from a subprocess, and is likely not a problem with pip.
[11:24:23.996]
[11:24:23.996] Collecting requests==2.25.1 (from -r /vercel/path0/api/requirements.txt (line 1))
[11:24:23.996] Downloading requests-2.25.1-py2.py3-none-any.whl.metadata (4.2 kB)
[11:24:23.996] Collecting urllib3==1.26.5 (from -r /vercel/path0/api/requirements.txt (line 2))
[11:24:23.996] Downloading urllib3-1.26.5-py2.py3-none-any.whl.metadata (43 kB)
[11:24:23.996] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.7/43.7 kB 4.6 MB/s eta 0:00:00
[11:24:23.996] Collecting fastapi~=0.75.0 (from -r /vercel/path0/api/requirements.txt (line 3))
[11:24:23.996] Downloading fastapi-0.75.2-py3-none-any.whl.metadata (24 kB)
[11:24:24.002] Collecting uvicorn==0.17.6 (from -r /vercel/path0/api/requirements.txt (line 4))
[11:24:24.002] Downloading uvicorn-0.17.6-py3-none-any.whl.metadata (6.2 kB)
[11:24:24.002] Collecting python-multipart==0.0.5 (from -r /vercel/path0/api/requirements.txt (line 5))
[11:24:24.003] Downloading python-multipart-0.0.5.tar.gz (32 kB)
[11:24:24.003] Installing build dependencies: started
[11:24:24.003] Installing build dependencies: finished with status 'done'
[11:24:24.003] Getting requirements to build wheel: started
[11:24:24.003] Getting requirements to build wheel: finished with status 'done'
[11:24:24.003] Preparing metadata (pyproject.toml): started
[11:24:24.003] Preparing metadata (pyproject.toml): finished with status 'done'
[11:24:24.003] Collecting beautifulsoup4==4.10.0 (from -r /vercel/path0/api/requirements.txt (line 6))
[11:24:24.003] Downloading beautifulsoup4-4.10.0-py3-none-any.whl.metadata (3.5 kB)
[11:24:24.003] Collecting lxml==4.9.1 (from -r /vercel/path0/api/requirements.txt (line 7))
[11:24:24.003] Downloading lxml-4.9.1.tar.gz (3.4 MB)
[11:24:24.003] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 158.3 MB/s eta 0:00:00
[11:24:24.004] Installing build dependencies: started
[11:24:24.004] Installing build dependencies: finished with status 'done'
[11:24:24.004] Getting requirements to build wheel: started
[11:24:24.004] Getting requirements to build wheel: finished with status 'error'
[11:24:24.004]
[11:24:26.486]

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant