Skip to content

Commit 7762d09

Browse files
author
Liuchuan Yu
committed
Update guidance for windows build
1 parent ae8f703 commit 7762d09

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ bash setup_ubuntu.sh
1616

1717
### Windows
1818

19+
**Ensure pybind11 is installed before running the following command.**
20+
1921
```
2022
setup_windows.bat
2123
```

setup_windows.bat

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,8 @@ echo.
144144
echo Checking for pybind11...
145145
pip show pybind11 >NUL 2>&1
146146
if %errorlevel% neq 0 (
147-
echo pybind11 not found. Attempting to install pybind11...
148-
pip install pybind11
149-
if %errorlevel% neq 0 (
150-
echo Error: Failed to install pybind11. Exiting.
151-
goto :cleanup_and_exit
152-
)
153-
echo pybind11 installed successfully.
154-
) else (
155-
echo pybind11 is already installed.
147+
echo Error: pybind11 not found. Please install pybind11 first. Exiting.
148+
goto :cleanup_and_exit
156149
)
157150

158151
:: --- Set PYBIND11_DIR for CMake ---

0 commit comments

Comments
 (0)