Yum / python issue on build apache

areha

Well-Known Member
Oct 30, 2002
52
0
156
I get a lot of "Warning: 'yield' will become a reserved keyword in the future" when running Cpanel update, or build on apache..

Anyone experienced this before? Red Hat Fedora.




Verifying archive integrity... All good.
Uncompressing buildapache.............................................................................................................................
Verifying compiler and libs....Verifying installation..../usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/bin/yum", line 20, in ?
import os
File "/usr/lib/python2.2/os.py", line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/lib/python2.2/os.py:282: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/bin/yum", line 20, in ?
import os
File "/usr/lib/python2.2/os.py", line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax
Done
Done