By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,942 Members | 1,788 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,942 IT Pros & Developers. It's quick & easy.

Re: PP3E error

P: n/a
[top posting fixed]
On Nov 16, 2008, at 10:14 PM, Gabriel Genellina wrote:
>En Mon, 17 Nov 2008 03:32:35 -0200, ryan payton <si******@gmail.com>
escribió:
>>I still need help with a PP3E error I am getting in my 'PyEdit'
program I have from Progamming Python 3rd Edition. I am working on a
mac and the error is coming from: from PP3E.Gui.Tools.guimaker import *

Please provide more info, like the whole traceback you got.
En Mon, 17 Nov 2008 13:16:10 -0200, ryan payton <si******@gmail.com>
escribió:
sorry:
Traceback (most recent call last):
File "texteditor.py", line 460, in <module>
class TextEditorMain(TextEditor, GuiMakerWindowMenu):
NameError: name 'GuiMakerWindowMenu' is not defined
Please follow the instructions on the book, or read the README-PP3E.txt
file; below I copy the most relevant parts:

"""Copy the entire PP3E directory tree to some directory on your computer,
and add the name of the directory containing PP3E to your module search
path (i.e., you PYTHONPATH shell setting, ".pth" files, etc.).

Alternatively, copy the PP3E directory tree to the site-packages folder
in your Python source library (e.g., C:\Python24\Lib\site-packages on
Windows for Python 2.4). Because this directory is automatically
searched on imports, copying here makes PYTHONPATH settings unnecessary."""

Also, make sure you get the updated version from
http://examples.oreilly.com/python3/pp3e-updates.html

--
Gabriel Genellina

Nov 18 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.