HELP!!! Installing Blt for Pmw

Bernard Yue bernie at 3captus.com
Thu Jan 24 03:08:06 CET 2002


Hi Barry,

I was in hell too when I try to did the same back a year ago.  I don't
exactly
remember how I finally solved the problem (So some steps might be
missing).  But it's a start:

1)  Check environment variable PATH, TCL_LIBRARY, TK_LIBRARY:

PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PYTHON21;C:\PYTHON21\TCL\TCL8.3\BLT2.4\BIN;

TCL_LIBRARY=c:\python21\tcl\tcl8.3
TK_LIBRARY=c:\python21\tk\tk8.3

2)  Copy tcl83.dll and tk83.dll into c:\python21\DLLs

This should work for python 2.1 and PWM and BLT.


Good Luck


Bernie

Barry Drake wrote:

> All,
> I'm having the same problem as others here.  I've
> duplicated a previous message below since my setup is
> exactly the same.  Copying the .dll and .lib files to
> every concievable subdirectory doesn't seem to work,
> including the Windows System directory.
>
> Someone must have gotten this to work at sometime in
> the past!!!  Any help would be appreciated.
>
> Thanks.
> Barry L. Drake
> ----------------------------------
> Previous posting:
>
> Dear Pythonistas!
>
> After having installed successfully Python -
> MageWidgets and
> after having run partially successfully the  All.py -
> demo
> I ran into a problem when trying to install blt -
> which is
> necessary to execute some of the options in All.py (
> and which
> I'm rather interested to use):
>
> I'm running Python 2.1 in the ActiveState-flavour
> (including Tcl/Tkinter)
> under WindowsNT 4.0
>
> I downloaded blt2_4u-for-8_3.exe
>
> and then tinkered around a lot of time without
> success,
>
> The installer ran "successfully", but I seem not to
> know where to
> install the things correctly (Perhaps the installer
> doesn't know that
> I want to know them with Python?.
>
> It installs 3 subdirectories:
>     bin
>     include
>     lib
> but not in the correct place.
> It doesn't seem to modify then registry (hopefully).
>
> So All.py complains still with:
> "I'm sorry, but btl has not been installed" ... or
> similar
>
> My dir-structure is:
>
> C:\Python21\
>       DLLs
>       Doc
>       Lib
>       libs
>       Pmw
>       pygame
>       tcl\
>            tcl8.3
>            tk8.3
>
> ( and more ...)
>
> Could anybody help with hints
>    - if I downloaded the correct file
>    - what to enter when asked for the install-dir
>    - how to get it to run
>
> (Dirty question, I assume)
>
> Thanks in advance
> Gregor Lingl
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/

--
There are three schools of magic.  One:  State a tautology, then ring
the changes on its corollaries; that's philosophy.  Two:  Record many
facts.  Try to find a pattern.  Then make a wrong guess at the next
fact; that's science.  Three:  Be aware that you live in a malevolent
Universe controlled by Murphy's Law, sometimes offset by Brewster's
Factor; that's engineering.

So far as I can remember, there is not one word in the Gospels in
praise of intelligence.
                -- Bertrand Russell





More information about the Python-list mailing list