Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
83 views

I have just finished working on a Flask web application that is using openai SDK. Locally everything works smoothly, but after uploading the project on PythonAnywhere, the environment variables from ....
4 votes
1 answer
156 views

I have a code like this that caches a page for 60 minutes: import os import time from django.conf import settings from django.core.cache import cache from django.core.mail import send_mail from django....
1 vote
1 answer
36 views

Platform: httpd-2.4.62-1.el9_5.2.x86_64 python3-mod_wsgi-4.7.1-11.el9.x86_64 python3-3.9.21-1.el9_5.x86_64 httpd settings: WSGIDaemonProcess server.example.com \ processes=2 \ ...
0 votes
1 answer
75 views

I have a Flask server running in localhost python 3.9 and conda, with a route for pdf creation with WeasyPrint's python driver, the pdf's are generated correctly but I just cant put any images on it (...
0 votes
0 answers
57 views

I have 2 apps made in Flask, an API which gets and sends data from an sqlite database. And a Flask web app with a jinja template in a template folder. i want to run both the api and web app on an ...
0 votes
1 answer
70 views

When I attempt to deploy a Flask app on a shared hosting site, using cPanel, the deployment fails with this message: "ModuleNotFoundError: No module named 'imp'." As other posts have ...
macloo's user avatar
  • 637
0 votes
0 answers
19 views

I cannot find it anywhere, nor in the source code of Apache nor on any page references for this happening, but somehow Apache normalizes URIs from http://example.com/my/page /with/space into http://...
1 vote
2 answers
58 views

So I'm trying to write a simple wsgi python module where I use __init__.py to bring in variables & functions from another file but I can't seem to get the module to load. I keep getting the "...
0 votes
1 answer
510 views

How can I run the ASGI and WSGI protocols separately in my Django project? This is my project structure. . ├── chat # <== my app name │ ├── apps.py │ ├── consumers.py │ ├── __init__.py │ ├─...
0 votes
0 answers
112 views

I am trying to deploy a FastAPI application on a cPanel-managed server using Phusion Passenger with Apache. However, Passenger is not detecting my app even after following the standard setup. What I ...
0 votes
0 answers
64 views

Has anyone ever used PythonAnywhere to host opensource python program called changedetection? I'm having trouble with the web app WSGI file, which is the file telling the web app where to find the app ...
0 votes
1 answer
60 views

I have a Debian 11 system with Apache2 2.4.6.2, mod_wsgi 4.7.1 and Python 3.9. I want to run two different Django projects under the same Apache2 server, and in the same virtual host as outlined e.g. ...
1 vote
0 answers
51 views

I'm trying to create a simple python application on planet hoster which use the N0C interface (instead of cpanel), I didn't add any code (run.py contains only the template for the 200 ok message) I ...
1 vote
1 answer
39 views

I am trying to set up Django in a subdirectory (running under Apache2 through wsgi), but Django stops recognizing the static URLs. This is an example url, that gives me a 404: https:/<domain>/&...
Stefan's user avatar
  • 23
0 votes
1 answer
48 views

I am trying to use WSGI with a URL that I need to be able to POST to under Apache 2 (using flask). I am able to run my .wsgi independently of Apache (python cfg.wsgi) and it handles GET and POST ...
Rob's user avatar
  • 947

15 30 50 per page
1
2 3 4 5
...
166

AltStyle によって変換されたページ (->オリジナル) /