Hi Caroline,
I tried to install the docx package but itâs not helping.
Here is the full error
ModuleNotFoundError: No module named 'exceptions'
[15:02:55] đ Pulling code changes from Github...
[15:02:56] đŠ Processing dependencies...
[15:02:56] đŠ Processed dependencies!
[15:02:59] đ Updated app!
2023-08-04 15:03:03.974 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/mount/src/genaitool_almadaventures/app.py", line 14, in <module>
from docx import Document
File "/home/adminuser/venv/lib/python3.9/site-packages/docx.py", line 30, in <module>
from exceptions import PendingDeprecationWarning
ModuleNotFoundError: No module named 'exceptions'
2023-08-04 15:06:21.398 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/mount/src/genaitool_almadaventures/app.py", line 14, in <module>
from docx import Document
File "/home/adminuser/venv/lib/python3.9/site-packages/docx.py", line 30, in <module>
from exceptions import PendingDeprecationWarning
ModuleNotFoundError: No module named 'exceptions'
2023-08-04 15:06:52.617 Thread 'MainThread': missing ScriptRunContext
2023-08-04 15:06:52.617 Thread 'MainThread': missing ScriptRunContext
2023-08-04 15:07:03.531 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/mount/src/genaitool_almadaventures/app.py", line 14, in <module>
from docx import Document
File "/home/adminuser/venv/lib/python3.9/site-packages/docx.py", line 30, in <module>
from exceptions import PendingDeprecationWarning
ModuleNotFoundError: No module named 'exceptions'