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

Add __version__ to python wrapper #5337

Merged
merged 1 commit into from
Dec 1, 2019

Conversation

bfulkers-i
Copy link
Contributor

No description provided.

Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a long-thought attribute indeed.
Thank you for the contribution!

@dorodnic dorodnic merged commit 33586a1 into IntelRealSense:development Dec 1, 2019
@zbynekwinkler
Copy link

According to https://github.com/IntelRealSense/librealsense/wiki/Release-Notes this PR is part of 2.31 release. However, I do not see the attribute:

$ pip list
Package       Version    
------------- -----------
numpy         1.17.4     
opencv-python 4.1.2.30   
pip           9.0.1      
pkg-resources 0.0.0      
pyrealsense2  2.31.0.1235
setuptools    39.0.1     
$ python
Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyrealsense2 as rs
>>> rs.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pyrealsense2' has no attribute '__version__'

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

Successfully merging this pull request may close these issues.

4 participants