Spaces:
Runtime error
Runtime error
File size: 1,932 Bytes
7878c8d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
import streamlit as st
st.set_page_config(page_title="Notebook Installation", page_icon=":notebook:")
st.markdown("# Steps to install Jupyter notebook")
st.markdown(
"""
#### :red[For Windows 10 or above:]
###### 1. Open CMD(Terminal) in your laptop
- You can type "cmd" in the "Type to search" window
- Then the Command Line (Terminal) should appear and you might run it;
###### 2. Install Python 3.11 into your laptop
- Type in the following code in your CMD and press "Enter" to execute
```cmd
winget install python.python.3.11
```
###### 3. Install Jupyter Notebook to your laptop
- Type in the following command in your CMD and press "Enter" to execute
```cmd
pip install notebook
```
###### 4. Run notebook
- Type in the following command in your CMD and press "Enter" to execute
```cmd
jupyter notebook
```
- If you don't see a browser window popup,
you can copy the url output in the terminal and paste it into a new browser tab to open the notebook,
"""
)
st.write("##")
st.markdown(
"""
#### :blue[For MacOS:]
###### 1. Install Python 3.11 into your laptop
- Check the webside [here](https://www.saintlad.com/install-python-3-on-mac/) for instruction
###### 2. Upgrade pip3
- upgrade pip or pip3, type/copy the following into Mac terminal and execute
```bash
pip3 install --upgrade pip
```
###### 3. Install jupyter notebook
- type/copy the following into Mac terminal and execute
```bash
pip3 install jupyter
```
###### 4. Run notebook
- Type in the following command in your CMD and press "Enter" to execute
```cmd
jupyter notebook
```
- If you don't see a browser window popup, you can copy the url output in the terminal and paste it into a new browser tab to open the notebook.
"""
)
|