[Python-modules-team] A bug or something is wrong with my old Debian's installation, python-numpy, and python-support?

Phillip Pi ant at zimage.com
Sun Oct 16 17:05:38 UTC 2011


> >>>Compiling /usr/lib/pymodules/python2.7/yum/__init__.py ...
> >>>SyntaxError: ('invalid syntax',
> >>>('/usr/lib/pymodules/python2.7/yum/__init__.py', 1129, 44, "
> >>>self.repos.populateSack(with='filelists')\n"))
> >>>
> >>>Compiling /usr/lib/pymodules/python2.7/yum/depsolve.py ...
> >>>SyntaxError: ('invalid syntax',
> >>>('/usr/lib/pymodules/python2.7/yum/depsolve.py', 73, 44, "
> >>>self.repos.populateSack(with='filelists')\n"))
> >>>
> >>>Compiling /usr/lib/pymodules/python2.7/yum/repos.py ...
> >>>SyntaxError: ('invalid syntax',
> >>>('/usr/lib/pymodules/python2.7/yum/repos.py', 236, 48, "    def
> >>>populateSack(self, which='enabled', with='metadata', callback=None,
> >>>pickleonly=0):\n"))
> >>>
> >>
> >>python-numpy is a red herring here. You appear to have a very
> >>old version of yum installed, which is not compatible with
> >>Python 2.7. Just upgrade it and the warnings will go away.
> >>
> >Thanks, but I don't have yum installed. :/
> 
> Are you sure? Could you paste output of this command:
> 
> dpkg -S yum/__init__.py

# dpkg -S yum/__init__.py
dpkg-query: no path found matching pattern *yum/__init__.py*.
-- 
Quote of the Week: "Where there is sugar, there are bound to be ants." --Malay Proverb
  /\___/\          Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |                 E-mail: philpi at earthlink.net/ant at zimage.com
   \ _ /              If crediting, then please kindly use Ant nickname
    ( )                                              and AQFL URL/link.



More information about the Python-modules-team mailing list