Folleloide
Folleloide

Reputation: 39

Problem launching streamliit script from terminal

I am having a problem when I try to launch my streamlit script from vs code or mac terminal.

I get the following error:

/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'streamlit': [Errno 2] No such file or directory

A normal python file runs it with no problems:

enter image description here

My Python version installed is 3.7.3.

I also have streamlit installed on the computer:

enter image description here

This happens to me from the mac terminal and from the vs code terminal.

I don't quite understand what is going on. I have changed computers recently and so far it always worked.

I hope you can give me some idea where the problem might be!

Upvotes: 1

Views: 135

Answers (1)

Cosmin George
Cosmin George

Reputation: 82

Not sure which command you use to run but this is the correct format;

streamlit run /Users/PATH/app.py

Upvotes: 1

Related Questions