Open nilly opened 5 years ago
Traceback (most recent call last): File "/bin/fortune", line 6, in from fortune import main File "/usr/lib/python2.7/site-packages/fortune/init.py", line 178 print('Missing fortune file.', file=sys.stderr) ^ SyntaxError: invalid syntax [root@lisiliang-test-vm13-237 data]# fortune /usr/share/games/fortunes/chinese.dat Traceback (most recent call last): File "/bin/fortune", line 6, in from fortune import main File "/usr/lib/python2.7/site-packages/fortune/init.py", line 178 print('Missing fortune file.', file=sys.stderr) ^
modify this row to " print('Missing fortune file.') resolved
Traceback (most recent call last): File "/bin/fortune", line 6, in
from fortune import main
File "/usr/lib/python2.7/site-packages/fortune/init.py", line 178
print('Missing fortune file.', file=sys.stderr)
^
SyntaxError: invalid syntax
[root@lisiliang-test-vm13-237 data]# fortune /usr/share/games/fortunes/chinese.dat
Traceback (most recent call last):
File "/bin/fortune", line 6, in
from fortune import main
File "/usr/lib/python2.7/site-packages/fortune/init.py", line 178
print('Missing fortune file.', file=sys.stderr)
^
modify this row to " print('Missing fortune file.')
resolved