1,326 questions
Tooling
0
votes
2
replies
70
views
Is there any way to reduce the size of my virtual env
Is there any way to reduce the size of my virtual environments - I have a relatively simple django website - the most complex parts are probably using weasyprint to save a page as PDF, and using the ...
Advice
0
votes
1
replies
52
views
PythonAnywhere pricing for non profits
I am developing an application for a non profit organization (Haifa Rape Crisis Center) in Israel. I am considering PythonAnywhere as the hosting service.
does PythonAnywhere have special pricing for ...
Advice
0
votes
3
replies
98
views
How do you handle POST requests in Django
How do you handle POST requests in Django on PythonAnywhere? The help pages only seem to cover GET requests (which work fine). Got various errors, currently 'Forbidden (Referer checking failed - no ...
-3
votes
1
answer
123
views
create dataframe from csv in PythonAnywhere [closed]
I am trying to display the headers of a data frame I created based on a csv file using the PythonAnywhere free version. I keep getting a huge error message and I don't understand what I did wrong.
...
1
vote
1
answer
60
views
PythonAnywhere SSH working in CMD but not in Notebook
I have a paid account with PythonAnywhere, with MySQL DB. I am able to connect to DB using DBeaver and am also able to SSH using command prompt (ssh [email protected]).
However when I ...
0
votes
0
answers
65
views
Setting up spotipy in pythonanywhere
I'm making a program which I want to run continuously (hence the pythonanywhere):
def setup():
spOauth = SpotifyOAuth(client_id=CLIENTID,
client_secret=CLIENTSECRET,
...
0
votes
1
answer
65
views
No connection to MySQL-database - PythonAnywhere/ Beginners Plan
Attempt to connect to MySQL-database by module MySQLdb fails and will be responded by: name 'MySQLdb' is not defined... in the servers log. Environment is not virtual, framework is Flask
The ...
1
vote
1
answer
89
views
Cannot connect to PythonAnywhere database from PyCharm?
I have a MySQL database and web app set up on PythonAnywhere (a paid account). When I am exclusively on PythonAnywhere, the web app works great! The database is connected, and I am able to use the ...
0
votes
2
answers
127
views
Trying to deploy Django web app on PythonAnywhere, "no python application found"
I have a Django web app (Python 3.11) that runs on Azure, and I'm trying to migrate it to PythonAnywhere.
I've followed the setup instructions. The web page itself says "Internal Server Error&...
0
votes
2
answers
256
views
"object has no attribute 'delay_on_commit'"
Launching a Celery 5.5.1 task from a Django 4.2 view sometimes causes
'generate_report' object has no attribute 'delay_on_commit'
# tasks.py
from celery import shared_task
@shared_task
def ...
-2
votes
2
answers
86
views
Django app works locally but shows "Unhandled Exception" on PythonAnywhere (Logs available)
Link to the youtube video: https://youtu.be/iJrUiem10iI
I have developed a Django application that includes features like downloading YouTube videos (using yt-dlp) and potentially converting file ...
0
votes
1
answer
85
views
Template does not exists error in python anywhere
I have deployed my django app in python anywhere and getting below error :
TemplateDoesNotExist at /topic/
cms_app\content.html
I have two apps in my project. One is cms_app and other is users.
My ...
2
votes
0
answers
66
views
Tornado app launch in PythonAnywhere failed with "Unhandled Exception"
I tried code from a tutorial in the PythonAnywhere help-pages:
Using tornado | PythonAnywhere help
In the information section, they explained that they need to see this code and paste it into the ...
0
votes
1
answer
31
views
uwsgi_response_write_body_do(): Broken pipe - PythonAnywhere
I have a Flask-based dashboard application where all users can log in and use the system except for one specific account. Whenever this user attempts to log in, I receive a 502-backend error.
I have ...
1
vote
1
answer
187
views
Cloudinary Upload Issue on PythonAnywhere: MaxRetryError
I'm developing a Django application that uses Cloudinary for image storage. When running the project locally, everything works fine, and images upload successfully.
However, when I deploy the project ...