From c5580867c4806991f4ded45a293c9f030449ffc6 Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Mon, 7 Nov 2022 16:22:47 +0200 Subject: [PATCH 1/2] add python 3.10 support --- wrappers/python/readme.md | 2 +- wrappers/python/setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wrappers/python/readme.md b/wrappers/python/readme.md index 1ebda5f3f3..0f47cfd9e2 100644 --- a/wrappers/python/readme.md +++ b/wrappers/python/readme.md @@ -20,7 +20,7 @@ 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). ## Building From Source diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py index 749b845ddc..6a92ea72ff 100644 --- a/wrappers/python/setup.py +++ b/wrappers/python/setup.py @@ -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', From 08527700ac8b90395697d3bf329f2cf21703bd8c Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Thu, 10 Nov 2022 13:08:50 +0200 Subject: [PATCH 2/2] update --- wrappers/python/readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrappers/python/readme.md b/wrappers/python/readme.md index 0f47cfd9e2..525dc1b53e 100644 --- a/wrappers/python/readme.md +++ b/wrappers/python/readme.md @@ -22,6 +22,9 @@ To install the package, run: 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 @@ -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=` 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