Installation issue on WIN10 #13035
-
I have been trying to install pyrealsense2 on WIN10 by running:
I am using the vs code. The current version of my python is 3.12 but I have already tried other versions of python like python versions 3.6, 3.7 and 3.8 and none of them worked. I have also installed Intel RealSense Viewer an it works without any issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @JafarArashMehr A guide that I wrote several years ago at #6402 (comment) for installing pyrealsense2 on Windows 10 with pip install may be a helpful reference. Python 3.6 installation is no longer supported by pip install pyrealsense2 . A PC should be able to use pip install with Python 3.7 to 3.11. Python 3.12 is not yet supported by pip install but can be used with pyrealsense2 if the wrapper is built from source code. |
Beta Was this translation helpful? Give feedback.
-
Is pyrealsense2 found if you use the command below in the terminal to set the PYTHONPATH?
|
Beta Was this translation helpful? Give feedback.
-
It's great to hear that you achieved a solution. Thanks very much for the update! |
Beta Was this translation helpful? Give feedback.
I finally solved it by removing all Python versions on my system. Installed a fresh Python 3.10 and I was able to install pyrealsense2 and opencv-python packages without any problem.