[email protected] (Ludovic Courtès) skribis: > What happens is that as a consequence of d7572b4, which does: > > @@ -215,7 +233,8 @@ > (native-search-paths > (list (search-path-specification > (variable "PYTHONPATH") > - (files '("lib/python2.7/site-packages"))))) > + (files '("lib/python2.7/site-packages" > + "lib/python2.7/lib-dynload"))))) > (home-page "http://python.org") > (synopsis "High-level, dynamically-typed programming language") > (description > > … we end up with python2’s pyexpat.so in the search path, and python3 > fails when it tries to load it. (This change was done so that .so files > such as tkinter.so can be found even when they don’t lie under Python’s > prefix.)
I realized it’s safer to avoid adding lib-dynload to the search path and simply install tkinter under lib/python2.7/site-packages. I’ve done that in tk-update, rebased on top of master. Ludo’.
