I need win32com.client to convert doc to docx. I upload win32com folder manually under folder 'site-packages' and made the error message change from "No module named 'win32com'" to "No module named 'win32api'". But 'win32api.pyd' is actually under '.../site-packages/win32'.
Could anyone know how to solve this problem?
Either ideas about other ways to read in doc files by python and convert to docx OR made win32com.client work on pythonanywhere will be very welcome. Thanks in advance!
The log message is copied below:
2019-02-01 07:17:17,548: Error running WSGI application
2019-02-01 07:17:17,548: ModuleNotFoundError: No module named 'win32api'
2019-02-01 07:17:17,548: File "/var/www/lexi_pythonanywhere_com_wsgi.py", line 16, in <module>
2019-02-01 07:17:17,548: from detector import app # noqa
2019-02-01 07:17:17,549:
2019-02-01 07:17:17,549: File "/home/lexi/mysite/detector.py", line 16, in <module>
2019-02-01 07:17:17,549: import win32com.client
2019-02-01 07:17:17,549:
2019-02-01 07:17:17,549: File "/home/lexi/.virtualenvs/dashappenv/lib/python3.6/site-packages/win32com/init.py", line 5, in <module>
2019-02-01 07:17:17,549: import win32api, sys, os