morefigs / pymba

Python wrapper for Allied Vision's Vimba C API
MIT License
105 stars 84 forks source link

PYMBA_VERSION error #99

Closed BenDavisson closed 5 years ago

BenDavisson commented 5 years ago

Hello,

Seems like I have made a mistake from following the README.md or maybe it needs an update?

After following installation instructions and attempting import in python... I try to run this code:

from pymba import Vimba, PYMBA_VERSION

print(PYMBA_VERSION) print(Vimba.version())


and receive an error:

Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'PYMBA_VERSION'

If I remove the PYMBA_VERSION import everything runs correctly. Did I miss a step?

morefigs commented 5 years ago

Oops, thanks, I've updated the readme now.