Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python readme #4313

Merged
merged 1 commit into from
Jul 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wrappers/python/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ Windows users can install the RealSense SDK 2.0 from the release tab to get pre-
2. Install Python and its development files via apt-get (Python 2 and 3 both work)
* `sudo apt-get install python python-dev` or `sudo apt-get install python3 python3-dev`
* **Note:** The project will only use Python 2 if it can't use Python 3
3. Run the top level CMake command with the following additional flag `-DBUILD_PYTHON_BINDINGS=bool:true`:
3. Run the top level CMake command with the following additional flag `-DBUILD_PYTHON_BINDINGS:bool=true`:
* `mkdir build`
* `cd build`
* `cmake ../ -DBUILD_PYTHON_BINDINGS=bool:true`
* `cmake ../ -DBUILD_PYTHON_BINDINGS:bool=true`
> **Note**: To force compilation with a specific version on a system with both Python 2 and Python 3 installed, add the following flag to CMake command:
`-DPYTHON_EXECUTABLE=[full path to the exact python executable]`
* `make -j4`
Expand Down