Hey folks, I am a learner and facing the following error while deploying my project on Vercel. Kindly help me out
[18:19:33.326] Running build in Washington, D.C., USA (East) – iad1
[18:19:34.376] Cloning github.com/legendajar/demo-django (Branch: main, Commit: 244e811)
[18:19:34.821] Previous build cache not available
[18:19:34.953] Cloning completed: 576.641ms
[18:19:35.600] Running "vercel build"
[18:19:36.517] Vercel CLI 33.6.3
[18:19:36.875] 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
[18:19:36.911] Error: Unable to find any supported Python versions.
[18:19:36.911] Learn More: http://vercel.link/python-version
[18:19:37.373]
No, still working on it. Do you have any solution for this problem?
i am having the same issue ,if you find it please let me know
WARN! Due to builds
existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: Error Codes
09:03:34.143 BUILD START
09:03:34.247 /usr/bin/python3.9: No module named pip
09:03:34.272 Traceback (most recent call last):
09:03:34.272 File “/vercel/path0/manage.py”, line 11, in main
09:03:34.273 from django.core.management import execute_from_command_line
09:03:34.273 ModuleNotFoundError: No module named ‘django’
09:03:34.273
09:03:34.273 The above exception was the direct cause of the following exception:
09:03:34.273
09:03:34.273 Traceback (most recent call last):
09:03:34.273 File “/vercel/path0/manage.py”, line 22, in
09:03:34.273 main()
09:03:34.273 File “/vercel/path0/manage.py”, line 13, in main
09:03:34.273 raise ImportError(
09:03:34.273 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?
this is my error now i have tried always
Add requirements.txt file
mention the django version in it
I’m also facing same issue did you got any solution
Do you got solution i’m also facing same error while deploying in vercel