osexception error

Hi I am getting an osexception not found error. But I have included :
from libopensesame.exceptions import osexception