Re: [Modeling-users] problems with inheritance
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2004-08-18 09:47:55
|
Okay --I cannot check this right now, I'll get back to you on it in a couple of days, probably during the next week-end or on monday. -- Sébastien. Lorenzo Gil Sanchez <lg...@si...> wrote: > El mar, 17-08-2004 a las 23:08, sbi...@us... escribió: > > > > I think that the pb. here is that the root package, named > > after the model's package nale (here: 'Person' AFAIK) isn't > > in the python path. > > > > Could you check whether you get the same error with > > /home/lgs/proyectos/pruebas-modeling/ > > in your PYTHONPATH (before '.', in case you have in the py-path), > > and report back? Thanks. > > I still get the same error: > > [lgs@localhost pruebas-modeling]$ export > PYTHONPATH=.:/opt/lib/python2.3/site-packages/ > > [lgs@localhost pruebas-modeling]$ python model_person.py > Traceback (most recent call last): > File "model_person.py", line 33, in ? > from Person.Customer import Customer > File "/home/lgs/proyectos/pruebas-modeling/Person/Customer.py", line > 2, in ? > from MDL.Customer import Customer as MDL_Customer_Customer > File "/home/lgs/proyectos/pruebas-modeling/Person/MDL/Customer.py", > line 5, in ? > from Person.Person import Person > ImportError: No module named Person |