Skip to content

Commit

Permalink
PR IntelRealSense#11072 from Nir-Az: Add python 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az authored Nov 10, 2022
2 parents 0e0b18e + 0852770 commit f96e7b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions wrappers/python/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ Package is available at https://pypi.python.org/pypi/pyrealsense2
To install the package, run:
> `pip install pyrealsense2`
Windows users can install the RealSense SDK 2.0 from the release tab to get pre-compiled binaries of the wrapper, for both x86 and x64 architectures. (Both Python 2.7 and Python 3 (3.6, 3.7, 3.8, 3.9) are supported).
Windows users can install the RealSense SDK 2.0 from the release tab to get pre-compiled binaries of the wrapper, for both x86 and x64 architectures. (Python versions 3.6, 3.7, 3.8, 3.9, 3.10 are supported).

> **Note:**
> Python 2.7 distributables can be found for pyrealsense2 versions <= 2.51.1

## Building From Source
Expand Down Expand Up @@ -62,7 +65,7 @@ Windows users can install the RealSense SDK 2.0 from the release tab to get pre-

3. If you have multiple python installations on your machine you can use: `-DPYTHON_EXECUTABLE=<path to python executable>`
For example: `-DPYTHON_EXECUTABLE=C:/Python27/python.exe`
> The precompiled binaries shipped with [the installer](https://github.com/IntelRealSense/librealsense/releases) assume **Python 2.7**.
> The precompiled binaries shipped with [the installer](https://github.com/IntelRealSense/librealsense/releases) assume **Python 3.7**.
>The error `ImportError: DLL load failed: The specified module could not be found` might indicate versions mismatch or architecture (x86 vs x64) mismatch.
4. Open `librealsense2.sln` that was created in the previous step, and build the `pyrealsense2` project
Expand Down
1 change: 1 addition & 0 deletions wrappers/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def __len__(self):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Multimedia :: Video',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
Expand Down

0 comments on commit f96e7b9

Please sign in to comment.