Operating System - HP-UX
1833771 Members
2410 Online
110063 Solutions
New Discussion

Re: python 2.7.3 installation in hp-ux 11.31 import error

 
kampandi
Occasional Visitor

python 2.7.3 installation in hp-ux 11.31 import error

Hi Guys, I installed the python 2.7.3 in HPux 11.31 and try to import Tkinter module. I am getting below error

>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/iexpress/python/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: Failed to load /opt/iexpress/python/lib/python2.7/lib-dynload/_tkinter.so
>>>

i checled the dependencies of the _tkinter.so file, The below library is missing

root@**** # ldd /opt/iexpress/python/lib/python2.7/lib-dynload/_tkinter.so

/opt/iexpress/python/lib/python2.7/lib-dynload/_tkinter.so:
        Unable to find library 'libtk8.5.so'.

Is this causing the issue, if so can anyone give me the linl where i download this licrary file for HPux 11.31

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: python 2.7.3 installation in hp-ux 11.31 import error

>       Unable to find library 'libtk8.5.so'.

 

See recent topic:

https://community.hpe.com/t5/Security/Error-while-using-ssh/m-p/6997307