Module object has no such attribute __version__
man0l opened this issue · comments
man0l commented
Hi,
I am building the opencv package as described in the tutorial.
I have tried the prebuild lib, I have built it myself and I run Amazon AMI 2 and built it manually and it still gives me this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute '__version__'
This happens when I run the Lambda function or just import the module in the python shell and type in cv2.__version__
Could you help me with this issue? Should I change the AWS image to Amazon AMI 1?
man0l commented
Hi,
when I built it on the classic Amazon AMI image, I was able to run the cv2 library on lambda.
Thank you for your attention,
Regards.