[Distutils] problem with python file???
Benji York
benji at benjiyork.com
Tue Mar 27 12:34:33 CEST 2012
On Tue, Mar 27, 2012 at 12:34 AM, Rob Healey <robhealey1 at gmail.com> wrote:
> Greetings:
>
> I have a file [1], that I am having a problem with, and I do not understand
> why? Could you please explain how to handle this please???
>
> [1] '/home/Frog/geps0042/gramps/plugins/records.gpr.py'
>
> error: package directory '/home/Frog/geps0042/gramps/plugins/records/gpr'
> does not exist
Modules can not have a dot in their name. To make foo.bar.baz
importable you need a foo directory with a baz subdirectory that
contains a file named baz.py. See
http://docs.python.org/tutorial/modules.html#packages for all the
details.
Also, despite the name of this list, a more appropriate place to ask
this kind of question would be the python-list or tutor list:
http://www.python.org/community/lists/
--
Benji York
More information about the Distutils-SIG
mailing list