[Errno 13] Permission denied:

Screenshot 2023-06-23 at 20.21.03

import streamlit as st
import requests

st.write('test')

Trying to run this code but keep getting the same error.
I have tried to solve this by using the terminal as instructed, then i get this error:

Screenshot 2023-06-23 at 20.22.51

Any ideas?

Hi and welcome to the forum, can you try going to your file on the terminal and then running the streamlit command directly. Ex: going to the Python folder in the terminal and then doing: streamlit run main.py

I don’t know why the permission issue is happening but you can try this approach.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.