-
Vercel部署报错提示缺少pip库,烦请哪位大佬帮忙解决一下,谢谢。
[19:51:28.926] Running build in Washington, D.C., USA (East) – iad1
[19:51:29.109] Cloning github.com/abcdefgh12356789/q-a (Branch: main, Commit: 81991a5)
[19:51:29.164] Skipping build cache, deployment was triggered without cache.
[19:51:29.812] Cloning completed: 703.789ms
[19:51:30.509] Running "vercel build"
[19:51:31.403] Vercel CLI 33.6.3
[19:51:31.711] 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
[19:51:32.596] ./migrate.sh: line 1: pip: command not found
[19:51:32.660] Traceback (most recent call last):
[19:51:32.660] File "/vercel/path0/manage.py", line 11, in main
[19:51:32.660] from django.core.management import execute_from_command_line
[19:51:32.660] ModuleNotFoundError: No module named 'django'
[19:51:32.661]
[19:51:32.661] The above exception was the direct cause of the following exception:
[19:51:32.661]
[19:51:32.661] Traceback (most recent call last):
[19:51:32.661] File "/vercel/path0/manage.py", line 22, in
[19:51:32.661] main()
[19:51:32.661] File "/vercel/path0/manage.py", line 13, in main
[19:51:32.661] raise ImportError(
[19:51:32.661] 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?
[19:51:32.686] Traceback (most recent call last):
[19:51:32.686] File "/vercel/path0/manage.py", line 11, in main
[19:51:32.686] from django.core.management import execute_from_command_line
[19:51:32.686] ModuleNotFoundError: No module named 'django'
[19:51:32.687]
[19:51:32.687] The above exception was the direct cause of the following exception:
[19:51:32.687]
[19:51:32.687] Traceback (most recent call last):
[19:51:32.687] File "/vercel/path0/manage.py", line 22, in
[19:51:32.687] main()
[19:51:32.687] File "/vercel/path0/manage.py", line 13, in main
[19:51:32.687] raise ImportError(
[19:51:32.687] 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?
[19:51:32.694] Error: Command "./migrate.sh" exited with 1
[19:51:33.110]
|
Beta Was this translation helpful? Give feedback.
Answered by
am-abudu
Apr 7, 2024
Replies: 1 comment
-
See #524 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
am-abudu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #524