This repository was archived by the owner on Dec 20, 2024. It is now read-only.
How can one deploy django on vercel with build_files.sh #6463
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
User
echo "BUILD START"
python3.9 -m pip install -r requirements.txt
python3.9 manage.py collectstatic --noinput --clear
echo "BUILD END"
i have been using this but today its not working
Example
No response
Steps to Reproduce
https://vercel.com/kingsleys-projects-753f781a/bit/3raT9s9Y1RmLSafjTSsoCZaZvk8q#
/usr/bin/python3.9: No module named pip -- 19:14:58.357 | Traceback (most recent call last): 19:14:58.357 | File "/vercel/path0/coinvestor/manage.py", line 11, in main 19:14:58.357 | from django.core.management import execute_from_command_line 19:14:58.357 | ModuleNotFoundError: No module named 'django' 19:14:58.357 | 19:14:58.357 | The above exception was the direct cause of the following exception: 19:14:58.357 | 19:14:58.357 | Traceback (most recent call last): 19:14:58.357 | File "/vercel/path0/coinvestor/manage.py", line 22, in 19:14:58.357 | main() 19:14:58.357 | File "/vercel/path0/coinvestor/manage.py", line 13, in main 19:14:58.357 | raise ImportError( 19:14:58.357 | 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:14:58.359 | BUILD END 19:14:58.386 | Error: Unable to find any supported Python versions.Beta Was this translation helpful? Give feedback.
All reactions