>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.2/tkinter/__init__.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /lib64/libtk8.5.so: file too short
>>>
I have already installed 'tkinter
I am using Ubuntu 12.04 64 bit version as a new install.
I am doing maintenance for a python code. Python is installed in /usr/bin, the code installed in /aaa, a python 2.5 installed under /aaa/python2.5. Each time I run Python, it use /usr/bin one. How to make it run /aaa/python2.5?
I'm trying to build a Pinax virtualenv.
I just did a dist upgrade, afterwards tkinter stopped working in Python3.2. Whenever I try to use it I get this "No module named _tkinter, please install the python-tk package" I tried installing it but apt says it's already installed.
i installed python2.6 before in
/ust/local/bin
but now i removed it and installed a new python2.6.4 in
/opt/python2.6
i installed from the article
but on mid way only where they say to check python it says
[root@domain ~]# python
/opt/python2.6/bin/python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
but when i op
I have done something with my python installation, don't remember what exactly.
hi , i have download deluge-1.2.0_rc4, after that i install it in my opensuse 11.2. in graphical mode deluged and deluge run perfect, but i can't activate webui , and can't run it from console, when i use command
Quote:
deluge -u console
i get this error
Code:
[ERROR ] 14:18:30 ui:146 No module named curses
There are many syntax differences in python3. For example, the very first programming lesson of python2:print 'Hello World!'won't work in python 3. It has to beprint('Hello World!')But you can keep both python2 and python3 in archlinux. Just remember python means python3 and python2 means of course python2.