Trying to stream my first app using streamlit Python 3.6.8 on Mac Monterey 12.7.3 Yet I got zsh: permission denied:

I’ve been trying to stream my first app using Streamlit locally. I have installed Streamlit through my terminal and it was successful yet when I try to run the code using Python terminal I receive the following warning

Warning: to view this Streamlit app on a browser, run it with the following command:

Streamlit run Path

and when I try to use my Mac terminal I receive

zsh: permission denied: path

I’ve tried to change the permission settings for the folder but it didn’t work I tried to change the location and I got a different error which is

zsh: no such file or directory: file path

I tried to use the command

Streamlit run file path 

but I received

zsh: command not found: Streamlit

even tho Streamlit is correctly and successfully installed!

I also tried the command

chmod +x HomePage.py

chmod: HomePage.py: No such file or directory

python3 HomePage.py

received

/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can’t open file ‘HomePage.py’: [Errno 2] No such file or directory

I would appreciate any help

Hey @Ren . I think you need to use python3 -m streamlit run filename.py. Also check the file path.

Happy Streamlit-ing 8

you saved my life!
it worked

Im having the below error in deploying my first app.

ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306

Hi @Seek-Techs . I think it’s pywin32.

Hey @Ren . Then its better to put solution mark for your query.

and then add it to my requirements.txt file on github repo after the installation


, right?

Hi @Seek-Techs . I have seen your GitHub repo. There are unnecessary dependencies which are not required for your project. For project the following dependencies are necessary.

streamlit
joblib

Don’t forget to reboot the application after updating the requirements.txt

Hope it works well

Happy Streamlit-ing :balloon:

Ok, thank you very much for your support, I am working on it


Its successful now, but its not hosted yet for quite long time and still waiting to be done.


Its working now, thanks. You are blessed!!!