On Thursday, July 9, 2015 at 8:02:26 AM UTC-5, Adrian Klaver wrote: > > 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. >
It says pylint 1.4.2 (OK) Static code analysis > > 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'? > OK, I've performed the install that way. Same results. > > Third what OS and version and Python version are you using? > Not sure it matters. I get the same failure on both my Mac (10.10.4) and my Mint 19 Linux box. Both have the same recent anaconda suite with Python 2.7. BTW, on the Mint box pylint is version 1.44 > > > > > > > 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 > > > > > > > > I don't understand what this is telling me. > > > > > > -- > > 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 [email protected] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To post to this group, send email to [email protected] > <javascript:> > > <mailto:[email protected] <javascript:>>. > > Visit this group at http://groups.google.com/group/spyderlib. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Adrian Klaver > [email protected] <javascript:> > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
