cihologramas / pyueye

Python wrapper for ueye cameras
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

ImportError: No module named constants #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I've a problem with the module ueye because it didn't recognize module 
constants, in the following paste i show you the error:  
1.  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "ueye/__init__.py", line 34, in <module>
    from constants import *
         ImportError: No module named constants

I don't know if the version  of ubuntu can be the problem i've ubuntu 13.04, 
and the packeges i downloaded uEye_Linux_350_64Bit,  pyueye-3.50-3.70

Original issue reported on code.google.com by gantonio...@gmail.com on 12 Sep 2013 at 11:27

GoogleCodeExporter commented 9 years ago
Try editing the __init__.py file so that it looks for constants in the same 
directory, i.e.:

from .constants import *

Original comment by rst...@gmail.com on 13 Sep 2013 at 4:51