[Tutor] Pmw BLT help
Chris Smith
mc_anjo at tamu.edu
Sun Mar 25 17:24:26 CEST 2007
Alan Gauld wrote:
> "Chris Smith" <mc_anjo at tamu.edu> wrote
>
>
>>I'm trying to learn how to use Pmw.BLT
>
>
>>line 16, in __init__
>> self.vector_x = Pmw.Blt.Vector()
>> File "C:\Python24\lib\site-packages\Pmw\Pmw_1_2\lib\PmwBlt.py",
>>line
>>99, in __init__
>> self.tk.call(_vectorCommand, 'create', self._name)
>>TclError: invalid command name "::blt::vector"
>>
>>I've read over the installation instructions and even reinstalled
>>the
>>software and that didn't help any. Could anyone help me out?
>
>
> I don't use PMW but its saying there is no such command as Vector.
> Are you sure PMW is installed OK? Have you got any of the
> other commands to work? Is the case OK?
>
> Just some ideas,
>
> Alan G.
I know I've installed Pmw ok since all I do for installation is unpack
it and put in into the site-packages folder in the python installation.
I think the problem is when Pmw is trying to reference BLT which is
supposed to be installed with Tcl (it's an extension of some kind), but
I can't find any BLT troubleshooting help.
C. Smith
More information about the Tutor
mailing list