我有安裝asterisk 1.4版本比有人建議我安裝python 2.4及更高版本表現出以下一些錯誤,我有以下安裝問題
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling /usr/local/lib/python2.4/site-packages/Asterisk/Util.py to Util.pyc SyntaxError: ('future feature absolute_import is not defined',)
byte-compiling /usr/local/lib/python2.4/site-packages/Asterisk/Manager.py to Manager.pyc File "/usr/local/lib/python2.4/site-packages/Asterisk/Manager.py", line 557 except Asterisk.Manager.ActionFailed as e:^SyntaxError: invalid syntax
byte-compiling /usr/local/lib/python2.4/site-packages/Asterisk/Config.py to Config.pyc SyntaxError: ('future feature absolute_import is not defined',)
byte-compiling /usr/local/lib/python2.4/site-packages/Asterisk/CLI.py to CLI.pyc
SyntaxError: ('future feature absolute_import is not defined',) byte-compiling /usr/local/lib/python2.4/site-packages/Asterisk/Logging.py to Logging.pyc
SyntaxError: ('future feature absolute_import is not defined',) running install_scripts
changing mode of /usr/local/bin/asterisk-dump to 755 changing mode of /usr/local/bin/py-asterisk to 755
你需要解釋你正在嘗試完成什麼,你做了什麼以及發生了什麼。只發布錯誤不足以提供任何有意義的答案。 – Carpetsmoker