Closed SylvanSi closed 11 months ago
Hi team, I am trying to install pyrealsense in vis code but I am unable to find proper reference or documentation to do so. Could you help me to install the same in Viscode?Thanks in advance.
On Wed, Jan 31, 2024 at 5:18 AM MartyG-RealSense @.***> wrote:
You are very welcome. It's excellent to hear that RSUSB = true resolved your issue. Thanks very much for the update!
— Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/12055#issuecomment-1918803048, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXU4VNONSXFAHZB2FWI6MTYRIK5RAVCNFSM6AAAAAA26EPJH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYHAYDGMBUHA . You are receiving this because you were mentioned.Message ID: @.***>
--
Thanks & Regards,
Nataraj Eswarachandra.
Hi @Nataraj-github Are you referring to Visual Studio Code, please? If you are then the approach that I have seen a couple of times from Viscode users is to install pyrealsense2 from a wheel package with the instruction below:
pip install pyrealsense2
The link below has more details.
https://github.com/IntelRealSense/librealsense/issues/11789
The pip install instruction can be used with Python 3.7 to 3.11 on a PC and Python 3.7 to 3.9 on an Arm-based computer. If you want to use a newer Python version than these then the pyrealsense2 wrapper has to be installed from source code.
https://github.com/IntelRealSense/librealsense/issues/980#issuecomment-356097825 discusses installing pyrealsense2 from source in Visual Studio, though the procedure may not be the same for VS Code.
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
Frame didn't arrive within 5000
current SWversion 2.54.1.0 rs-capture can get video realsense-viewer can open the program but when use python to run the code, it shows
frames = pipeline.wait_for_frames() RuntimeError: Frame didn't arrive within 5000
Please look at this problem for me. Thanks:)