After I used this modification a few days ago, streamlit worked successfully. However, now it doesn’t work properly again, the main problem is as follows:
Setting up freeglut3:amd64 (2.8.1-6) ...
Setting up libegl-dev:amd64 (1.3.2-1) ...
Setting up libgail-common:amd64 (2.24.33-2) ...
Setting up libpango1.0-dev:amd64 (1.46.2-3) ...
Setting up libglu1-mesa-dev:amd64 (9.0.1-1) ...
Setting up libgtk2.0-dev:amd64 (2.24.33-2) ...
Setting up libgles-dev:amd64 (1.3.2-1) ...
Setting up libglvnd-dev:amd64 (1.3.2-1) ...
Setting up libgl1-mesa-dev:amd64 (20.3.5-1) ...
Setting up freeglut3-dev:amd64 (2.8.1-6) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.2+dfsg-1) ...
Stopping...
2021-12-20 06:26:58.353 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script
exec(code, module.__dict__)
File "/app/indicators_4_option/indicators.py", line 57, in <module>
import talib as ta
ModuleNotFoundError: No module named 'talib'
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Reading package lists...[2021-12-20 07:24:55.180083]
Reading package lists...[2021-12-20 07:24:55.876000]
Building dependency tree...[2021-12-20 07:24:56.085244]
Reading state information...[2021-12-20 07:24:56.085885]
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Stopping...
2021-12-20 07:24:58.677 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script
exec(code, module.__dict__)
File "/app/indicators_4_option/indicators.py", line 57, in <module>
import talib as ta
ModuleNotFoundError: No module named 'talib'
[client] Preparing system...
[client] Spinning up manager process...