On Sat, Dec 6, 2008 at 8:25 PM, kunal ghosh <kunal.t2 at gmail.com> wrote: > Got the error there was no __init__.py in the folder osol_install that's why > it did not detect the package finalizer.py but shouldn't all this > configuration be done automatically ??? >
Python requires that a filder contain the file __init__.py if you want to import from it. Just create an empty file using 'touch __init__.py' in that directory. Anil > > > Amit k. Saha wrote: > > On Sat, Dec 6, 2008 at 6:30 PM, kunal ghosh <kunal.t2 at gmail.com> wrote: > > > the moment i dry run distro constructor with > $distro_const > it gives the following error: > > Traceback (most recent call last): > File "/usr/bin/distro_const", line 30, in ? > from osol_install.finalizer import DCFinalizer > ImportError: No module named osol_install.finalizer > > > Case of a missing Python package. Check if you have checked out all > the sources.. > > -Amit > > > _______________________________________________ > ug-bosug mailing list > List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org > List-Owner: mailto:ug-bosug-owner at opensolaris.org > List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54 >