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,
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
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
> >
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
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
5 matches
Mail list logo