Load project on PythonAnyWhere

36 views
Skip to first unread message

Fabio Lenzarini

unread,
Dec 30, 2025, 9:12:18 AM12/30/25
to Jam.py Users Mailing List
Hello everyone, happy holidays!

I developed an application locally on my Windows PC. How do I upload it to PythonAnyWhere?

I'm very ignorant about these things :-)

Thanks

Ciao
Fabio

Dean D. Babic

unread,
Dec 30, 2025, 9:34:31 PM12/30/25
to Jam.py Users Mailing List

Fabio Lenzarini

unread,
Jan 3, 2026, 10:41:15 AMJan 3
to Dean D. Babic, Jam.py Users Mailing List
Thank Dean

I am very ignorant about Linux and these things...

I tried but got an error, perhaps because my application is developed with Jam 7?
2026-01-02 15:14:32,436: Error running WSGI application
2026-01-02 15:14:32,438: ModuleNotFoundError: No module named 'jam'
2026-01-02 15:14:32,438:   File "/var/www/vitaalert_pythonanywhere_com_wsgi.py", line 56, in <module>
2026-01-02 15:14:32,438:     from jam.wsgi import create_application
2026-01-02 15:14:32,438: ***************************************************
2026-01-02 15:14:32,439: If you're seeing an import error and don't know why,
2026-01-02 15:14:32,439: we have a dedicated help page to help you debug: 
2026-01-02 15:14:32,439: https://help.pythonanywhere.com/pages/DebuggingImportError/
2026-01-02 15:14:32,439: ***************************************************
thanks
Fabio

--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/0c1011b7-7bd1-41cc-b922-4ac49a701fc4n%40googlegroups.com.

Fabio Lenzarini

unread,
Jan 3, 2026, 10:52:28 AMJan 3
to Dean D. Babic, Jam.py Users Mailing List
I've started the serve

15:50 ~/thewill $ python server.pyUser Guide: https://jampy-docs-v7.readthedocs.io/Address already in usePort 8080 is in use by another program. Either identify and stop that program, or start the server with a different port.15:50 ~/thewill $ python server.py:8088python: can't open file '/home/vitaalert/thewill/server.py:8088': [Errno 2] No such file or directory15:50 ~/thewill $ python server.py 8088User Guide: https://jampy-docs-v7.readthedocs.io/WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:8088 * Running on http://10.0.5.247:8088Press CTRL+C to quit
I've started the server at port 8088, but don't work.. :-(

Dean D. Babic

unread,
Jan 3, 2026, 11:07:03 PMJan 3
to Jam.py Users Mailing List
It is just the above procedure you need to follow, takes 2 minutes:
https://help.pythonanywhere.com/pages/Flask/

Flask and Jam is almost the same. Except for this part:
Configuring the WSGI file

Where we using (username/project_folder is yours to change,

import os
import sys

path = '/home/username/project_folder'
if path not in sys.path:
    sys.path.append(path)

from jam.wsgi import create_application
application = create_application(path)

The Linux console is used only to install Jam in virtual env.
Nothing more.

I updated the 
for you.

Dean D. Babic

unread,
Jan 3, 2026, 11:58:53 PMJan 3
to Jam.py Users Mailing List
Please use pip install jam.py-v7==7.0.83

Fabio Lenzarini

unread,
Jan 4, 2026, 8:30:19 AMJan 4
to Jam.py Users Mailing List
Thanks Dean,
In the end, I decided to buy a cloud server.
It runs Linux, and I'm not an expert, but I finally managed to get jam.py up and running.

I tried importing my v7 project. It works on the builder side, but not on the user side.

I'll look into it and let you know.

ciao
happy new year
Fabio

Reply all
Reply to author
Forward
0 new messages