Dimitry,

>From that traceback, it appears that you may not have successfully compiled 
>_tkinter with your Python 2.5.1 build.  To configure this manually, edit 
>Setup.dist in the Modules directory of the Python source code distribution.  

Cheers,
Warren 

--
DeLano Scientific LLC
Subscriber Support Services
mailto:supp...@delsci.com


-----Original Message-----
From: pymol-users-boun...@lists.sourceforge.net 
[mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of DimitryASuplatov
Sent: Monday, June 02, 2008 7:31 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Trouble with pymol tk GUI

Hello,
I am installing pymol on opensuse 11 RC1 (kernel 2.6.25.4-8).
Installation with default python 2.5.2 did not succeed - some strange problems 
occurred at the begging. I think python default installation might be corrupt. 
So I`ve compiled python 2.5.1 from source with default options and installed it 
to /usr/local/python2.5.1 dir.
Then I cd to pymol directory (sources were downloaded from svn) and ran
/usr/local/python/bin/python2.5.1 setup.py build then "install"
then /usr/local/python/bin/python2.5.1 setup2.py install

Next I have installed Pmw1.3.1 the same way - setup.py install

When I run pymol executable script I get the main window (viewer) without the 
top tk gui and the following message:

----------------------------------------------------------------------
PyMOL(TM) Molecular Graphics System, Version 1.1r0.
 Copyright (C) 2007 by DeLano Scientific LLC.
 All Rights Reserved.

    Created by Warren L. DeLano, Ph.D.

    Other Major Authors and Contributors:

       Ralf W. Grosse-Kunstleve, Ph.D.

    PyMOL is user-supported open-source software.  Although some versions
    are freely available, PyMOL is not in the public domain.

    If PyMOL is helpful in your work or study, then please volunteer
    support for our ongoing efforts to create open and affordable scientific
    software by purchasing a PyMOL Maintenance and/or Support subscription.

    More information can be found at "http://www.pymol.org";.

    Enter "help" for a list of commands.
    Enter "help <command-name>" for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

 OpenGL graphics engine:
  GL_VENDOR: NVIDIA Corporation
  GL_RENDERER: GeForce2 MX/PCI/SSE2
  GL_VERSION: 1.5.8 NVIDIA 96.43.05
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/pymol/__init__.py", line 398, in 
launch_gui
    __import__(self.invocation.options.gui)
  File "/usr/local/lib/python2.5/site-packages/pmg_tk/__init__.py", line 22, in 
<module>
    from PMGApp import *
  File "/usr/local/lib/python2.5/site-packages/pmg_tk/PMGApp.py", line 28, in 
<module>
    from Tkinter import *
  File "/usr/local/lib/python2.5/lib-tk/Tkinter.py", line 38, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
 Adapting to GeForce hardware.
--------------------------------------------------------------------------

In my understanding this happens when Pmw are not properly installed. I ran the 
Pmw installation script again - same problem I have installed Pmw1.3.2 - the 
newest sources from the site - same problem.
Python configure script does not have an "enable tk" option.
I have installed python 2.5.2 to default dir and used it to install pymol - the 
same problem.

Could you just give me a tip on what I might be doing wrong. Thank you.

SDA



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) 
Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to