Python/Tk in Xplor-NIH
Yufeng <CrystalAtom <at> yahoo.com>
2005-05-18 19:02:15 GMT
A question about python/Tk interface of Xplor-NIH.
I am testing xplor-nih v.2.10. Installation follows the instructions
in the INSTALL file. After installation, testDist
gives positive results, claiming all the 145 tests of xplor,
21 tests of python and 5 tests of tcl passed. But when I run
xplor -py -pydoc -g
It gives an ImportError for module Tkinter, which apparently is
the problem of search path setting, which again is a list of
To my supprise, I didn't see .../python/disk/lib/...
directories in the xplor package I installed, which is downloaded
freshly from NIH site. And I am not sure why there should be
a empty search path as the first element of the list.
For xplor v2.9.4a, it does not gives the same error messege
when I invoke the command, but Tkinter is still not avaible
in the search paths.
So my two questions:
1. How to fix it? Or how to setup in xplor the python distribution
already installed in the system?
2. Should the testDist include a routine to test the graphics interface?
Dept. Physiol. & Biophys.
Case Western Reserve Univ.
Cleveland, Ohio 44106
Tel: (216)368-8654 (O)