[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
Sun Oct 16 12:20:56 UTC 2011


* Phillip Pi <ant at zimage.com>, 2011-10-15, 12:20:
>>>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

-- 
Jakub Wilk



More information about the Python-modules-team mailing list