Hello Out There, I have just started playing around with gendoc. I untarred the whole thing and tried running it against a python file. However, I seem to come across the following problem: *** Importing gendoc Collecting information Generating documents for HTMLg Traceback (innermost last): File "./gendoc", line 7, in ? gendoc.main() ... File "./gendoc/formatters/HTMLgenFormatter.py", line 88, in html_rc import __ ImportError: No module named __ Does anybody out there know what the "__" module refers to? I tried looking through some python books but found nothing specifically related to this. Regards, Raymond _______________ DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org _______________
Raymond Sui wrote:
Hello Out There,
I have just started playing around with gendoc. I untarred the whole thing and tried running it against a python file.
However, I seem to come across the following problem:
*** Importing gendoc Collecting information Generating documents for HTMLg Traceback (innermost last): File "./gendoc", line 7, in ? gendoc.main() ... File "./gendoc/formatters/HTMLgenFormatter.py", line 88, in html_rc import __ ImportError: No module named __
Does anybody out there know what the "__" module refers to? I tried looking through some python books but found nothing specifically related to this.
Regards, Raymond
__ refers to the "package module". There is a description about packages in the docstring in ni.py. How is your sys.path defined? -- Daniel Larsson, ABB Industrial Systems AB _______________ DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org _______________
participants (2)
-
Daniel Larsson -
suir@nms.otc.com.au