[Python-modules-team] A bug or something is wrong with my old Debian's installation, python-numpy, and python-support?
Jakub Wilk
jwilk at debian.org
Sat Oct 15 19:00:08 UTC 2011
* Phillip Pi <ant at zimage.com>, 2011-10-15, 11:24:
>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.
(Please also note that mixing anything older that stable with testing is
not supported. You are doing it on your own risk!)
--
Jakub Wilk
More information about the Python-modules-team
mailing list