Skip to content

Commit 65cb11c

Browse files
Copilotkhnumdev
andcommitted
Add Python installation instructions for macOS and Linux
Co-authored-by: khnumdev <[email protected]>
1 parent 76fb452 commit 65cb11c

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,32 @@ pip install -e .
5353
- If you see "externally-managed-environment", you are attempting a system-wide install. Always install into a virtual environment:
5454
- Create a venv: `python3 -m venv .venv && source .venv/bin/activate`
5555
- Then use the venv pip: `python -m pip install -U pip && pip install -e .`
56-
- If `python3-venv` is not installed:
5756

57+
#### Installing Python 3 (if not already installed)
58+
59+
**macOS:**
60+
```bash
61+
# Install Python 3 using Homebrew
62+
brew install [email protected]
63+
```
64+
65+
**Linux (Debian/Ubuntu):**
66+
```bash
67+
# Install Python 3 and venv support
68+
sudo apt-get update && sudo apt-get install -y python3 python3-venv python3-pip
69+
```
70+
71+
**Linux (Fedora/RHEL):**
72+
```bash
73+
# Install Python 3 and venv support
74+
sudo dnf install python3 python3-pip
75+
```
76+
77+
**Linux (using Homebrew):**
5878
```bash
59-
sudo apt-get update && sudo apt-get install -y python3-venv
79+
# Install Homebrew first (if not already installed): https://brew.sh
80+
# Then install Python 3
81+
brew install [email protected]
6082
```
6183

6284
## Configuration

0 commit comments

Comments
 (0)