Hi

My database interface file - dbInterface.py that launches my pox componet - 
dbInface  imports
 

import psycopg2  -  to access psycopg2 pkg under 
/usr/lib/python2.7/dist-packages/psycopg2

My module does not come up with 'import psycopg2' but is OK when I commented 
out this one

I have added the following in pos/pox/boot.sh and the same result


 sys.path.append(os.path.abspath(os.path.join(sys.path[0], 
'/usr/lib/python2.7/dist-packages/psycopg2/')))

How to import any non-pox modules in any pox files?

Thanks
=Senthil

Reply via email to