'encodings' module gone in Python 2.5?
Gustavo Niemeyer
gustavo at niemeyer.net
Thu Apr 12 08:58:14 PDT 2007
Hi Jonathan,
> Am working on a Smart SRPM for Ark Linux. Smart built and ran very
> nicely indeed with the current stable Python in Ark, which is Python
> 2.4. But I need to build the Smart SRPM based on Python 2.5 if
> possible, along with the newest PyGTK (2.8.6). So far it builds and
> installs fine, but when I try to run in either command-line or GUI
> mode, it gives:
I don't think the encodings module went anywhere. Ark Linux is
probably breaking the Python distribution in several packages.
[niemeyer at burma ~]% python2.5
Python 2.5 (r25:51908, Oct 6 2006, 15:22:41)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import encodings
>>> encodings
<module 'encodings' from '/usr/lib/python2.5/encodings/__init__.pyc'>
Please let me know if you figure out what the problem is.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Smart
mailing list