Re: [Modeling-users] problems with inheritance
Status: Abandoned
Brought to you by:
sbigaret
From: Lorenzo G. S. <lg...@si...> - 2004-08-18 09:38:07
|
El mar, 17-08-2004 a las 23:08, seb...@nu... 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 |