I will introduce the steps when installing python 3.11 from Microsoft Store.
Run the following command to install the required python modules.
C:\sample> python3.11 -m pip install pandas
C:\sample> python3.11 -m pip install streamlit
C:\sample> python3.11 -m pip install matplotlib
Create a file called "webtest1.py" under the "C:\sample" folder.
Write the following lines in this file.
import pandas as pd
import streamlit as st
import matplotlib.pyplot as plt
st.title('plot test')
dat_x = [10, 20, 30, 40, 50]
dat_y = [11, 8, 5, 9, 15]
df = pd.DataFrame([dat_x, dat_y], index=['x data', 'y data'])
df = df.T
st.write('-- dataframe --')
st.dataframe(df)
st.write('-- line_chart --')
st.line_chart(df, x='x data', y='y data')
Drag and drop the "test1_pandas.py" file you created to ClickPyLogger.
Then, drag and drop "C:\Users\<you>\AppData\Local\Microsoft\WindowsApps\python3.11.exe" to ClickPyLogger.
Last but not least, don't forget to specify "-m streamlit run" in "Python Interpreter Options".
Note that you can also select Interpreter path from the menu instead of dragging and dropping.
Press the run button (triangle button) to run.
When prompted to enter your email, enter it at "Standard Input".
(You can also just press the enter key)
......If that fails, open a command prompt and try it.
Please think carefully before deciding whether to make it visible from other PCs.
Hopefully it will display a web browser.
Press the stop button to stop web service.
(The first three clicks will send a SIGINT. From the fourth time onwards, it will try to forcefully terminate the process.)