Traceback (most recent call last):
File "/Users/rlove/anaconda/bin/pylint", line 3, in <module>
run_pylint()
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/__init__.py", line 23, in run_pylint
Run(sys.argv[1:])
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/lint.py", line 1313, in __init__
linter.check(args)
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/lint.py", line 729, in check
self._do_check(files_or_modules)
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/lint.py", line 831, in _do_check
for descr in self.expand_files(files_or_modules):
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/lint.py", line 872, in expand_files
self.add_message(key, args=message)
File "/Users/rlove/anaconda/lib/python2.7/site-packages/pylint/utils.py", line 390, in add_message
self.stats['by_module'][self.current_name][msg_cat] += 1
KeyError: None
On 07/08/2015 08:52 PM, Robert Love wrote:
> I have Spyder installed from the latest Anaconda updates this week. I
> have pylint installed using 'pip install pylint'. I can use pylint
> from the command line to analyze my program. However, from Spyder, I
> get a string of errors when I choose the Static code analysis tab and
> the Analyze button I get a long string of errors shown below.
>
> First, is the the correct place to ask or is this an anaconda issue?
>
> Second, I see the Spyder documentation says in the Editor section that
> pylint can be used but doesn't say much about how or installation.
> What is the proper way to install pylint for use in spyder?
First under Help --> Optional dependencies see what it shows for pylint.
Second I would think that 'pip install pylint' would install in the
system Python not Anaconda. Should you not do 'conda install or update
pylint'?
Third what OS and version and Python version are you using?
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.