Skip to content

Commit

Permalink
update readme: add Run from source (Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
buganini committed Jan 26, 2025
1 parent 463582e commit 950def5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In the image below with debug mode on, small red dots are tab position candidate
# Manual Tab
![Manual Tab](screenshots/manual_tab.gif)

# Installation from source
# Run from source (Linux/macOS)
Make sure your python can import `pcbnew`
```
> python3 -c "import pcbnew; print(pcbnew._pcbnew)"
Expand All @@ -72,6 +72,14 @@ Run
./env/bin/python3 kikit-ui.py
```

# Run from source (Windows)
On Windows the Python interpreter is at `C:\Program Files\KiCad\8.0\bin\python.exe`.
But however in my Windows environment venv is not working properly, here is how I run it with everything installed in the KiCad's environment.
```
"C:\Program Files\KiCad\8.0\bin\python.exe" -m pip install -r requirements.txt
"C:\Program Files\KiCad\8.0\bin\python.exe" kikit-ui.py
```

# CLI Usage
```
# Just open it
Expand Down

0 comments on commit 950def5

Please sign in to comment.