GeorgiosIoannouCoder
commited on
Commit
•
5c26b14
1
Parent(s):
32decff
Update setup/macOS_setup.txt
Browse files- setup/macOS_setup.txt +36 -36
setup/macOS_setup.txt
CHANGED
@@ -1,37 +1,37 @@
|
|
1 |
-
Instructions to setup your virtual environment using pyenv on macOS:
|
2 |
-
|
3 |
-
1. Install Homebrew:
|
4 |
-
Documentation found at: https://brew.sh/
|
5 |
-
|
6 |
-
2. Install pyenv:
|
7 |
-
xcode-select --install
|
8 |
-
brew install openssl readline sqlite3 xz zlib
|
9 |
-
brew update
|
10 |
-
brew install pyenv
|
11 |
-
|
12 |
-
3. Add the pyenv to your $PATH (if you are not using zsh as a shell, you have to change ~/.zshrc accordingly):
|
13 |
-
echo 'eval "$(pyenv init --path)"' >> ~/.zshrc
|
14 |
-
|
15 |
-
4. Install Python Version 3.11.0:
|
16 |
-
pyenv install 3.11.0
|
17 |
-
|
18 |
-
5. Clone this repository:
|
19 |
-
git clone https://huggingface.co/spaces/GeorgiosIoannouCoder/cuny-tech-prep-tutorial-
|
20 |
-
|
21 |
-
6. Navigate to the cloned repository folder:
|
22 |
-
cd cuny-tech-prep-tutorial-
|
23 |
-
|
24 |
-
7. Use the installed Python version in the cloned repository folder:
|
25 |
-
pyenv local 3.11.0
|
26 |
-
|
27 |
-
8. Create virtual environment in the cloned repository folder:
|
28 |
-
python -m venv .cuny-tech-prep-tutorial-
|
29 |
-
|
30 |
-
9. Activate the virtual environment:
|
31 |
-
source .cuny-tech-prep-tutorial-
|
32 |
-
|
33 |
-
10. Install the dependencies listed in the requirements.txt file:
|
34 |
-
pip install -r requirements.txt
|
35 |
-
|
36 |
-
11. Run streamlit:
|
37 |
streamlit run app.py
|
|
|
1 |
+
Instructions to setup your virtual environment using pyenv on macOS:
|
2 |
+
|
3 |
+
1. Install Homebrew:
|
4 |
+
Documentation found at: https://brew.sh/
|
5 |
+
|
6 |
+
2. Install pyenv:
|
7 |
+
xcode-select --install
|
8 |
+
brew install openssl readline sqlite3 xz zlib
|
9 |
+
brew update
|
10 |
+
brew install pyenv
|
11 |
+
|
12 |
+
3. Add the pyenv to your $PATH (if you are not using zsh as a shell, you have to change ~/.zshrc accordingly):
|
13 |
+
echo 'eval "$(pyenv init --path)"' >> ~/.zshrc
|
14 |
+
|
15 |
+
4. Install Python Version 3.11.0:
|
16 |
+
pyenv install 3.11.0
|
17 |
+
|
18 |
+
5. Clone this repository:
|
19 |
+
git clone https://huggingface.co/spaces/GeorgiosIoannouCoder/cuny-tech-prep-tutorial-6
|
20 |
+
|
21 |
+
6. Navigate to the cloned repository folder:
|
22 |
+
cd cuny-tech-prep-tutorial-6
|
23 |
+
|
24 |
+
7. Use the installed Python version in the cloned repository folder:
|
25 |
+
pyenv local 3.11.0
|
26 |
+
|
27 |
+
8. Create virtual environment in the cloned repository folder:
|
28 |
+
python -m venv .cuny-tech-prep-tutorial-6-venv
|
29 |
+
|
30 |
+
9. Activate the virtual environment:
|
31 |
+
source .cuny-tech-prep-tutorial-6-venv/bin/activate
|
32 |
+
|
33 |
+
10. Install the dependencies listed in the requirements.txt file:
|
34 |
+
pip install -r requirements.txt
|
35 |
+
|
36 |
+
11. Run streamlit:
|
37 |
streamlit run app.py
|