'encodings' module gone in Python 2.5?
Jonathan E. Brickman
jbrickman at joshuacorps.org
Thu Apr 12 10:47:40 PDT 2007
Gustavo, I should have thought of that. Apparently Ark's Python 2.5 is
more broken down than 2.4 was. There is an actual python-encodings RPM;
I'll try that tonight, on my devel machine.
>
> 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.
>
More information about the Smart
mailing list