Форум сайта python.su
$ ./configure –prefix=/usr/lib/ –exec-prefix=/usr/lib/python3.0/
$make
….INFO: Can't locate Tcl/Tk libs and/or headers
building ‘_struct’ extension
$make test
298 tests OK.
1 test failed:
test_xmlrpc
24 tests skipped:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr test_codecmaps_tw test_curses test_dbm_gnu
test_dbm_ndbm test_kqueue test_nis test_normalization
test_ossaudiodev test_pep277 test_socketserver test_sqlite
test_startfile test_tcl test_timeout test_urllib2net
test_urllibnet test_winreg test_winsound test_xmlrpc_net
test_zipfile64
3 skips unexpected on linux2:
test_tcl test_dbm_ndbm test_dbm_gnu
make: *** Ошибка 1
Оно конечно собирается и ставится, но
$ /usr/lib/python3.0/bin/python
Python 3.0.1 (r301:69556, Apr 26 2009, 12:56:53)
on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import turtle
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/usr/lib/lib/python3.0/turtle.py”, line 107, in <module>
import tkinter as TK
File “/usr/lib/lib/python3.0/tkinter/__init__.py”, line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
Как бы всё-таки turtle пощупать на предмет turtle.bgpic?
Офлайн