Streamlit - how do I get a link?

I'm starting to work with Streamlit in Python. I write

pip install --upgrade streamlit 

No error is issued, everything is downloaded. Today I downloaded another package via pip, there were no problems. Next, I write the simplest code

import streamlit as st
st.write('Hello, world!')

As far as I understand, I should have a link to the page where the phrase is displayed, but there is no link. What am I doing wrong? Writing to Jupiter, can the problem be related to it?

UPD: changed environment variables now writes

C:\Users\асер>pip install --upgrade streamlit
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting streamlit
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/streamlit/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/streamlit/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/streamlit/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/streamlit/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/streamlit/
  Could not fetch URL https://pypi.org/simple/streamlit/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/streamlit/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  Could not find a version that satisfies the requirement streamlit (from versions: )
No matching distribution found for streamlit
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 

Thank you

Author: MaxU, 2020-06-06

2 answers

To run your code, run the command in the console

streamlit run main.py

Where main.py is the name of the start file with the code

import streamlit as st
st.write('Hello, world!')
 0
Author: Viewed, 2020-06-06 17:00:02

The default link should be: http://localhost:8501 or http://127.0.0.1:8501.

 0
Author: Albra, 2020-11-17 22:37:27