Items with no label
3338 Diskussionen

Can not install pyrealsense2 on sdk 2.0

cjiin
Einsteiger
10.984Aufrufe

I can't install pyrealsense2

0 Kudos
18 Antworten
MartyG
Geehrter Beitragender III
7.775Aufrufe

Could you tell us more about your problem please? Such as if you are using Linux or Windows, and what error messages you get. Thanks!

https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python librealsense/wrappers/python at master · IntelRealSense/librealsense · GitHub

cjiin
Einsteiger
7.775Aufrufe

I tried to install pyrealsense2 on Linux, but I keep getting errors.

And I found ' This wrapper does not support newer versions and does not work with the RealSense SDK 2.0.' Is this true?

I try to run this code

import pyrealsense2 as rs

pipe = rs.pipeline()

profile = pipe.start()

try:

for i in range(0, 100):

frames = pipe.wait_for_frames()

for f in frames:

print(f.profile)

finally:

pipe.stop()

MartyG
Geehrter Beitragender III
7.775Aufrufe

The wrapper on the link I gave you works with SDK 2.0. It is the similarly named Pyrealsense 2.0 (a different program that is not on that page) that does not work with SDK 2.0.

cjiin
Einsteiger
7.775Aufrufe

then Is the pyrealsense2 of the code I uploaded available in sdk 2.0?

I tried pip install pyrealsense2 but the error occured

MartyG
Geehrter Beitragender III
7.775Aufrufe

Pyrealsense2 should be built in Linux with CMake using the instructions in the link.

cjiin
Einsteiger
7.775Aufrufe

What I am currently using is not x86 but aarch64 (jetson tx2)

MartyG
Geehrter Beitragender III
7.775Aufrufe

There is a guide for installing Librealsense on Jetson TX2 that you can check your work against.

https://github.com/IntelRealSense/librealsense/blob/development/doc/installation_jetson.md librealsense/installation_jetson.md at development · IntelRealSense/librealsense · GitHub

cjiin
Einsteiger
7.775Aufrufe

I install librealsense that indicated that website

but can not install pyrealsense2

MartyG
Geehrter Beitragender III
7.775Aufrufe

I found a case where someone else could not install Pyrealsense2.

https://github.com/IntelRealSense/librealsense/issues/793 Unable to import pyrealsense2 on python · Issue # 793 · IntelRealSense/librealsense · GitHub

idata
Mitarbeiter
7.775Aufrufe

Hello jiiiiiin,

 

 

Thank you for your interest in the Intel RealSense Technology.

 

Can you tell me if the guide that MartyG provided helped you figure your query out?

 

 

Is there any assistance you require from our side?

 

 

Looking forward to your reply,

 

Casandra

 

 

MartyG
Geehrter Beitragender III
7.775Aufrufe

Thanks for your help in this case, Cassandra! Apologies for interrupting, but I just wanted to highlight that installation of Pyrealsense2 was covered in the RealSense Webinar that RealSense software manager Dorodnic hosted yesterday. He suggested that Python could be installed via PyPy with this instruction:

$ pip install pyrealsense2

He also provided a small sample script to try after installation.

Jiiiiiin may also be interested in the brand new Intel tutorial on Python introduced at the webinar.

https://colab.research.google.com/drive/10YTLAf2i0R80-XX_6-1gTPtOMD0cRIx5 https://colab.research.google.com/drive/10YTLAf2i0R80-XX_6-1gTPtOMD0cRIx5

idata
Mitarbeiter
7.775Aufrufe

Hello MartyG, Hello jiiiiiin,

 

 

That is great, thank you for highlighting and posting this!

 

Please do not hesitate to contact us if any further details are needed.

 

 

Regards,

 

Casandra

 

WChen71
Einsteiger
7.775Aufrufe

Hi,

I was trying to develop a realsense application on TX2.

However, there was an error when running the python examples.

I've installed all libraries except pyrealsense2.

Seems like the arch64 architecture is not supported.

Is it possible to provide to wheel targeted at the TX2 platform?

Thank you!

MartyG
Geehrter Beitragender III
7.775Aufrufe

Please review the information in the link below and let me know if it is helpful to you. Thanks!

WChen71
Einsteiger
7.775Aufrufe

Hi

I'm afraid that it doesn't help me so much.

Here's the problem I encountered.

pip install pyrealsense2 dosen't work, and I could not find a wheel for the tx2 platform.

I need pyrealsense2 lib to complete my project.

Please help me fix this issue.

Thank you!

MartyG
Geehrter Beitragender III
7.775Aufrufe

A user called cyyyyywas also recently installing pyrealsense2 onto an Nvidia TX2 and found too that $ pip install pyrealsense2 was not working for them until a new update of pyrealsense2 released on July 25 (2.14.1.91). Then they found that the pip command worked for them and they were able to successfully install pyrealsense2 on their TX2. I see from your image that you are also using that version that worked for cyyyyy.

Have you tried just using $ pip install pyrealsense2 instead of the long version shown on your image?

idata
Mitarbeiter
7.775Aufrufe

You can install pyrealsense2 to any OS like Windows, Linux etc. From https://netgears.support/arlo-support/ Contact Arlo support you can check the whole process to install step by step. You need to connect your pc with the internet to install this software on your computer.

ycao6
Neuer Beitragender I
7.775Aufrufe

I am happy to know and tell you that "pip install pyrealsense2" works now .It was updated a few days ago .

and I am sad to realize that when I received the camera , pyrealsense2 can not be installed. but now it can ,so the efforts I paid was in vain ...

https://pypi.org/project/pyrealsense2/# history pyrealsense2 · PyPI

Antworten