django-bootstrap-v5 icon indicating copy to clipboard operation
django-bootstrap-v5 copied to clipboard

Cannot Deploy in PythonAnywhere

Open thein-htay-aung opened this issue 2 years ago • 3 comments

When I deploy my Django project in pythonanywhere, below error is happened. Even though it is ok in my local PC.

2022-09-14 08:51:45,879: Error running WSGI application 2022-09-14 08:51:45,887: ModuleNotFoundError: No module named 'bootstrap5' 2022-09-14 08:51:45,887: File "/var/www/userlog_pythonanywhere_com_wsgi.py", line 16, in 2022-09-14 08:51:45,887: application = get_wsgi_application()

thein-htay-aung avatar Sep 14 '22 04:09 thein-htay-aung

I get the same thing. Did you solve this?

Haakonoeyen avatar Jan 05 '24 19:01 Haakonoeyen

Did you install the dependencies?

Dest1ni avatar Feb 20 '24 21:02 Dest1ni

The issue was that because of an image update on PythonAnywhere, the original virtual environment was no longer compatible. After creating a new virtual environment and installing all dependencies, everything worked again.

Haakonoeyen avatar Feb 21 '24 08:02 Haakonoeyen