Re: Strange "problem" with tutorial

2009-02-07 Thread Chris Baker
I've had a similar problem on many of my python projects, where a package seems to be on the pythonpath and everything is perfect but for some reason I can't import it. Almost always the problem is that I forgot to include an __init__.py in the package. If a directory does not have an __init__.py,

Re: Strange "problem" with tutorial

2009-02-07 Thread Steve Holden
Joshua Russo wrote: > > On Feb 3, 6:04 pm, Adam Yee wrote: > >> On Feb 3, 9:49 am, Joshua Russo wrote: >> >> >>> I'm working through the tutorials and have encountered a strange >>> problem. So far everything works but Python doesn't acknowledge my >>> base site as a package. So everywhe

Re: Strange "problem" with tutorial

2009-02-03 Thread Joshua Russo
On Feb 3, 6:04 pm, Adam Yee wrote: > On Feb 3, 9:49 am, Joshua Russo wrote: > > > I'm working through the tutorials and have encountered a strange > > problem. So far everything works but Python doesn't acknowledge my > > base site as a package. So everywhere that you see a reference like > >

Re: Strange "problem" with tutorial

2009-02-03 Thread Adam Yee
On Feb 3, 9:49 am, Joshua Russo wrote: > I'm working through the tutorials and have encountered a strange > problem. So far everything works but Python doesn't acknowledge my > base site as a package. So everywhere that you see a reference like > "mysite.poll" I need to use only "poll". I think

Strange "problem" with tutorial

2009-02-03 Thread Joshua Russo
I'm working through the tutorials and have encountered a strange problem. So far everything works but Python doesn't acknowledge my base site as a package. So everywhere that you see a reference like "mysite.poll" I need to use only "poll". I think that my problems stem from the following section