Forums

Pythoncom module not found

Hi guys, i'm almost finished my project and i uploaded it but when i run the website i get an error:

2023-01-24 16:38:16,767: Error running WSGI application 2023-01-24 16:38:16,768: ModuleNotFoundError: No module named 'pythoncom' 2023-01-24 16:38:16,768: File "/var/www/tanc_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-01-24 16:38:16,768: from run import app as application # noqa 2023-01-24 16:38:16,768: 2023-01-24 16:38:16,768: File "/home/Tanc/mysite/run.py", line 1, in <module> 2023-01-24 16:38:16,768: from application import app 2023-01-24 16:38:16,768: 2023-01-24 16:38:16,768: File "/home/Tanc/mysite/application/init.py", line 63, in <module> 2023-01-24 16:38:16,768: from application import routes 2023-01-24 16:38:16,768: 2023-01-24 16:38:16,769: File "/home/Tanc/mysite/application/routes.py", line 14, in <module> 2023-01-24 16:38:16,769: from application.scripts.main import Optimo_Plus_Analysis 2023-01-24 16:38:16,769: 2023-01-24 16:38:16,769: File "/home/Tanc/mysite/application/scripts/main.py", line 5, in <module> 2023-01-24 16:38:16,769: import pythoncom 2023-01-24 16:38:16,769: ******* 2023-01-24 16:38:16,769: If you're seeing an import error and don't know why, 2023-01-24 16:38:16,769: we have a dedicated help page to help you debug: 2023-01-24 16:38:16,769: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2023-01-24 16:38:16,769: ******* 2023-01-24 16:38:17,478: Error running WSGI application 2023-01-24 16:38:17,479: ModuleNotFoundError: No module named 'pythoncom' 2023-01-24 16:38:17,479: File "/var/www/tanc_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-01-24 16:38:17,480: from run import app as application # noqa 2023-01-24 16:38:17,480: 2023-01-24 16:38:17,480: File "/home/Tanc/mysite/run.py", line 1, in <module> 2023-01-24 16:38:17,480: from application import app 2023-01-24 16:38:17,480: 2023-01-24 16:38:17,480: File "/home/Tanc/mysite/application/init.py", line 63, in <module> 2023-01-24 16:38:17,481: from application import routes 2023-01-24 16:38:17,481: 2023-01-24 16:38:17,481: File "/home/Tanc/mysite/application/routes.py", line 14, in <module> 2023-01-24 16:38:17,481: from application.scripts.main import Optimo_Plus_Analysis 2023-01-24 16:38:17,481: 2023-01-24 16:38:17,482: File "/home/Tanc/mysite/application/scripts/main.py", line 5, in <module> 2023-01-24 16:38:17,482: import pythoncom 2023-01-24 16:38:17,482: ******* 2023-01-24 16:38:17,482: If you're seeing an import error and don't know why, 2023-01-24 16:38:17,483: we have a dedicated help page to help you debug: 2023-01-24 16:38:17,483: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2023-01-24 16:38:17,483: *******

Can i do something? I browsed alternatives online...but i need to use pythoncom for converting...can i do something or it's a lost cause?

Thanks:)

pythoncom will not work on PythonAnywhere because it is meant for Windows and PythonAnywhere is not running on Windows.