[Python-projects] install problem - pylint winXP python 2.3
Ryan.Fraser at csiro.au
Ryan.Fraser at csiro.au
Tue Nov 7 06:12:00 CET 2006
Hi I'm having problems using pyLint on Windows XP running python 2.3.5
Procedure used:
Installed logilab-astng-0.16.1 (python setup.py install)
Installed logilab-common-0.20.2 (python setup.py install)
Installed pylint-0.12.1 (python setup.py install)
All seems to go ok, but when I go pylint.bat:
Traceback (most recent call last):
File "c:\Python23\Scripts\pylint.bat", line 11, in ?
from pylint import lint
File "C:\Python23\Lib\site-packages\pylint\lint.py", line 31, in ?
from pylint.checkers import utils
File "C:\Python23\Lib\site-packages\pylint\checkers\__init__.py", line
38, in
?
from logilab.astng.utils import ASTWalker
File "C:\Python23\Lib\site-packages\logilab\astng\__init__.py", line
175, in ?
from logilab.astng.scoped_nodes import *
File "C:\Python23\Lib\site-packages\logilab\astng\scoped_nodes.py",
line 33, i
n ?
from compiler.ast import Class, Const, Dict, Function, GenExpr,
Lambda, \
ImportError: cannot import name GenExpr
And I get the following errors whilst running the tests (runtests.py)
Executing unittest_lint
************************************************************************
********
Ran 1 test cases in 0.11s (0.11s CPU)
1 test OK.
9 tests skipped: func_test (test func_test crashed --
exceptions.ImportError : c
annot import name GenExpr), func_test_sample_config (test
func_test_sample_confi
g crashed -- exceptions.NameError : name 'linter' is not defined),
regrtest (tes
t regrtest crashed -- exceptions.ImportError : cannot import name
PyLinter), smo
ketest (test smoketest crashed -- exceptions.ImportError : cannot import
name Ru
n), test_encoding (test test_encoding crashed -- exceptions.ImportError
: cannot
import name BaseChecker), test_format (test test_format crashed --
exceptions.I
mportError : cannot import name BaseRawChecker), test_import_graph (test
test_im
port_graph crashed -- exceptions.ImportError : cannot import name
BaseChecker),
test_similar (test test_similar crashed -- exceptions.ImportError :
cannot impor
t name BaseChecker), unittest_lint (test unittest_lint crashed --
exceptions.Imp
ortError : cannot import name PyLinter)
Any suggestions?
Thanks
Ryan Fraser (SE)
CSIRO Exploration & Mining ,
ARRC, 26 Dick Perry Ave,
Kensington, WA 6151 Australia
Phone +61 8 6436 8760 Fax +61 8 6436 8555
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.logilab.org/pipermail/python-projects/attachments/20061107/8b91a913/attachment.html
More information about the Python-Projects
mailing list