Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module 'pyrealsense2' has no attribute 'pipeline' #9249

Closed
Try-Hello opened this issue Jun 19, 2021 · 9 comments
Closed

Module 'pyrealsense2' has no attribute 'pipeline' #9249

Try-Hello opened this issue Jun 19, 2021 · 9 comments

Comments

@Try-Hello
Copy link

I use pyrealsense2-aarch64 in jetson nano.

import pyrealsense2 as rs
#And then define 'pipeline':
pipeline = rs.pipeline()

error:Module 'pyrealsense2' has no attribute 'pipeline'

@MartyG-RealSense
Copy link
Collaborator

Hi @Try-Hello There was a Jetson case involving AttributeError: module 'pyrealsense2' has no attribute 'pipeline' where the solution in that particular case was found to be to copy .so files to the same directory that the user's project script was in.

#7078 (comment)

@Try-Hello
Copy link
Author

Sorry, my knowledge in this area is very weak.
I don't know what the .so files are, and I don't know where the .so files are.

I installed pyrealsense2-aarch64 in this way:pip3 install pyrealsense2-aarch64
where can i find the .so files?please。

@Try-Hello
Copy link
Author

Hi @Try-Hello There was a Jetson case involving AttributeError: module 'pyrealsense2' has no attribute 'pipeline' where the solution in that particular case was found to be to copy .so files to the same directory that the user's project script was in.

#7078 (comment)

Sorry, my knowledge in this area is very weak.
I don't know what the .so files are, and I don't know where the .so files are.

I installed pyrealsense2-aarch64 in this way:pip3 install pyrealsense2-aarch64
where can i find the .so files?please。

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 19, 2021

I believe that the .so files are part of the source-code installation method and not involved in the pip packages.

I researched the pip3 install command that you used. The AttributeError: module 'pyrealsense2' has no attribute 'pipeline' error has occurred in a past case (see the link below) when installing with the command pip3 install pyrealsense2-aarch64. A RealSense team member advised uninstalling it and then installing with pip3 install pyrealsense2 instead.

#4483

@Try-Hello
Copy link
Author

I believe that the .so files are part of the source-code installation method and not involved in the pip packages.

I researched the pip3 install command that you used. The AttributeError: module 'pyrealsense2' has no attribute 'pipeline' error has occurred in a past case (see the link below) when installing with the command pip3 install pyrealsense2-aarch64. A RealSense team member advised uninstalling it and then installing with pip3 install pyrealsense2 instead.

#4483

this problem has been solved. thank you very much.

@MartyG-RealSense
Copy link
Collaborator

Great to hear, @Try-Hello - thanks very much for the update!

@545464598
Copy link

I believe that the .so files are part of the source-code installation method and not involved in the pip packages.
I researched the pip3 install command that you used. The AttributeError: module 'pyrealsense2' has no attribute 'pipeline' error has occurred in a past case (see the link below) when installing with the command pip3 install pyrealsense2-aarch64. A RealSense team member advised uninstalling it and then installing with pip3 install pyrealsense2 instead.
#4483

this problem has been solved. thank you very much.

hello,how did you solve this problem?

@Try-Hello
Copy link
Author

I believe that the .so files are part of the source-code installation method and not involved in the pip packages.
I researched the pip3 install command that you used. The AttributeError: module 'pyrealsense2' has no attribute 'pipeline' error has occurred in a past case (see the link below) when installing with the command pip3 install pyrealsense2-aarch64. A RealSense team member advised uninstalling it and then installing with pip3 install pyrealsense2 instead.
#4483

this problem has been solved. thank you very much.

hello,how did you solve this problem?

You can refer to this:The same as the official website introduction.
https://blog.csdn.net/weixin_39298885/article/details/113149462

@MartyG-RealSense
Copy link
Collaborator

Case closed due to solution achieved and no further comments received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants