Skip to main content
1 vote
1 answer
35 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 ...
chhibbz's user avatar
  • 490
0 votes
0 answers
49 views

How to load environment variables in PythonAnywhere?

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 ....
Alex's user avatar
  • 13
0 votes
0 answers
48 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, ...
CEO of Forehead's user avatar
0 votes
1 answer
46 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 ...
PythonNewbie's user avatar
1 vote
1 answer
74 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 ...
Patrick0328's user avatar
0 votes
2 answers
86 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&...
Cormac's user avatar
  • 117
0 votes
2 answers
192 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 ...
Davy's user avatar
  • 1,844
-2 votes
2 answers
69 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 ...
Christian's user avatar
0 votes
1 answer
68 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 ...
Trishna's user avatar
  • 185
2 votes
0 answers
58 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 ...
LuciGamer 54's user avatar
0 votes
1 answer
19 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 ...
Siddharth Karkhanis's user avatar
1 vote
1 answer
130 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 ...
Josue Yael Guerrero Priego's user avatar
0 votes
0 answers
58 views

Running python app 'changedetection' on PythonAnywhere

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 ...
Michael Howard's user avatar
-1 votes
1 answer
89 views

How to deploy TG-bot to PythonAnywhere?

When i'm trying to run the bot uploaded to home/%User_name%/ at PythonAnywhere it crashes with: File "/home/%User_name%/%Project_name%/./handlers/command_handlers.py", line 103, in ...
Plem's user avatar
  • 1
1 vote
1 answer
71 views

How to Install Django Debug Toolbar on PythonAnywhere?

I am following the Django tutorial and am on part 8 where you install the Django Debug Toolbar by following the the toolbar installation instructions. I've checked my code against the tutorial's code ...
Python_Learner's user avatar

15 30 50 per page
1
2 3 4 5
89