>>> 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 downloaded the python2.3.tar.gz
I installed it and started the interpreter
I import Tkinter but get and error message
File "/opt/python/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
How do I fix this?
I'm trying to get python3 working and all setup while keeping the python2 libraries in tact (system dependencies and all that).
I've installed Python3.3 (compiled, etc..) and its in /usr/bin/Python3 side by side with /usr/bin/Python2.x
Entering 'python' will take me to a 2.6 IDE and 'python3' or 'python3.3' does nothing.
I am using Ubuntu 12.04 64 bit version as a new install.
Hi all, I am learning python and i have installed python 3 on my Ubuntu 11.10.
I'm trying to install pip or setup tools form python 3.2 in debian 6.
First case:
apt-get install python3-pip...OK
python3 easy_install.py webob
Searching for webob
Reading http://pypi.python.org/simple/webob/
Reading http://webob.org/
Reading http://pythonpaste.org/webob/
Best match: WebOb 1.2.2
Downloading http://pypi.python.org/packages/source/W/WebOb/WebOb-1.2.2.zip#md5=de0f3...
I've just been attacked with exactly the same console output after running scribes, and after some investigation it seems like some parts of scribes are being run using python3 instead of python2.E.g.
I have an older Fedora distro (I think it is 12, cannot check now) and about to upgrade to python3. This worked fine, but installing pylab/matplotlib for python3 did not work.
I tried:
yum install python-matplot*
yum install python-matplotlib
and installing a tar-ball from a matplotlib-py3k git repository (cannot find the page right now).
Thanks for the quick response. I use your repos anyway, not the aur.