0
PyLint: Executing command line: /usr/local/bin/pylint --rcfile=/Users/amansehgal/.rcfile --include-ids=y /Users/amansehgal/Documents/cis519/hw3_skeleton/boostedDT.py
PyLint: The stdout of the command line is: 
PyLint: The stderr of the command line is: Traceback (most recent call last):
  File "/usr/local/bin/pylint", line 11, in <module>
    sys.exit(run_pylint())
  File "/Library/Python/2.7/site-packages/pylint/__init__.py", line 12, in run_pylint
    from pylint.lint import Run
  File "/Library/Python/2.7/site-packages/pylint/lint.py", line 34, in <module>
    import astroid
  File "/Library/Python/2.7/site-packages/astroid/__init__.py", line 54, in <module>
    from astroid.nodes import *
  File "/Library/Python/2.7/site-packages/astroid/nodes.py", line 54, in <module>
    from astroid.scoped_nodes import (
  File "/Library/Python/2.7/site-packages/astroid/scoped_nodes.py", line 25, in <module>
    import io
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so

PyLint: Executing command line: /usr/local/bin/pylint --rcfile=/Users/amansehgal/.rcfile --include-ids=y /Users/amansehgal/Documents/cis519/hw3_skeleton/boostedDT.py
PyLint: The stdout of the command line is: 
PyLint: The stderr of the command line is: Traceback (most recent call last):
  File "/usr/local/bin/pylint", line 11, in <module>
    sys.exit(run_pylint())
  File "/Library/Python/2.7/site-packages/pylint/__init__.py", line 12, in run_pylint
    from pylint.lint import Run
  File "/Library/Python/2.7/site-packages/pylint/lint.py", line 34, in <module>
    import astroid
  File "/Library/Python/2.7/site-packages/astroid/__init__.py", line 54, in <module>
    from astroid.nodes import *
  File "/Library/Python/2.7/site-packages/astroid/nodes.py", line 54, in <module>
    from astroid.scoped_nodes import (
  File "/Library/Python/2.7/site-packages/astroid/scoped_nodes.py", line 25, in <module>
    import io
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so

LiClipse で pyLint を実行しようとして、メッセージをコンソールにリダイレクトするオプションを使用すると、このエラーが発生します。エラーなしでコマンドプロンプトで行を実行しました。したがって、問題は LiClipse で出力が適切にリダイレクトされないことです。何か案は ?

/usr/local/bin/pylint --rcfile=/Users/amansehgal/.rcfile --include-ids=y /Users/amansehgal/Documents/cis519/hw3_skeleton/boostedDT.py
4

1 に答える 1