@monchier thanks for your help, but alas, all the modules were already installed and configured.
There has been an update, though:
Using the following configuration, I think we’ve made some progress as I am no longer getting any error. The bad news is that all i get now is a blank page.
The config I’m currently using is:
<Virtualhost *:80>

    ServerName streamlit.group.pt
    ServerAlias srcapp.sc.pt

	documentroot /var/www/example.com/html

	RewriteEngine On

	RewriteCond %{HTTP:Upgrade} =websocket
   	RewriteRule /test1 ws://localhost:8501 [P]

   	RewriteCond %{HTTP:Upgrade} !=websocket
   	RewriteRule /test1 http://localhost:8501 [P]

   	ProxyPassReverse /test1 http://localhost:8501

</VirtualHost>

But when i try to open http://streamlit.group.pt/test1 all i get is a blank page.
Opening http://streamlit.group.pt/ returns the default html file though, located at /var/www/example.com/html.
The example .py file I’m currently running from streamlit is also located at /var/www/example.com/html.
I’m going to try and modify the above config and see if can progress further, but any help is more than welcome.
Edit:
Forgot to add something:
If I try to open http://streamlit.group.pt:8501 I can see the streamlit report without any issues. It’s only when I try to use http://streamlit.group.pt/test1 that I have this problem. And yes, I have to use the /test1 alias or some sort of alias when providing streamlit services to my clients