How does your WSGI application get deployed within Vercel using mod_wsgi? I thought Vercel was more a solution for static hosting or apps which work with Node and Javascript, not Python WSGI applications.
The key thing is that if you are indeed using mod_wsgi, it is not likely configured correctly and not using correct Python virtual environment or something where Django is installed. I can't easily guess though as I need to know how Apache/mod_wsgi runs on Vercel and how you have configured it. So more information on that will help. Graham > On 14 Jan 2025, at 6:17 am, Somansh Bhayani <[email protected]> wrote: > > <image.png> > I was deploying my small Django project on Vercel when I encountered an error > related to WSGI, so I’m asking for help here. I have checked everything—from > the Django version globally as well as within the project scope—and ensured > that the Python version is greater than 3.10. I have also added vercel.json > and requirements.txt (which includes the Django version). Attached is the > error screenshot. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion visit > https://groups.google.com/d/msgid/modwsgi/c9709514-b885-4d75-9a83-e3ec2040b706n%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/c9709514-b885-4d75-9a83-e3ec2040b706n%40googlegroups.com?utm_medium=email&utm_source=footer>. > <image.png> -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/modwsgi/931F62E5-FE55-4411-96CE-1E4023CC9466%40gmail.com.
