Skip to content

Add __version__ to python wrapper - #5337

Merged
dorodnic merged 1 commit into
realsenseai:developmentfrom
bfulkers-i:python_version
Dec 1, 2019
Merged

dorodnic merged 1 commit into
realsenseai:developmentfrom
bfulkers-i:python_version

Conversation

@bfulkers-i

Copy link
Copy Markdown
Contributor

No description provided.

@ev-mp ev-mp left a comment

Copy link
Copy Markdown
Contributor

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 realsenseai:development Dec 1, 2019
@zbynekwinkler

Copy link
Copy Markdown

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