I installed Anaconda on a Windows computer and Spyder works fine, but running pylint through the static code analysis function gives an error. The peelint was installed through Conda.
Note. An error in Spyder will not allow me to copy and paste text directly. I used the image in a text converter to get the code below so that there are not a few characters left ...
No config file found, using default configuration Traceback (most recent call last): File "C: \Users\ Username \AppData \Local \Continuum \Anaconda \Scripts\pylint-script.py", line 2, in <module> run_pylint() File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\_init_.py", line 23, in run_pylint Run(sys.argv[1:]) File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\lint.py", line 1313, in _init_ lintercheck(args) File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\lint.py", line 729, in check self._do_check(files_or_modules) File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\lint.py", line 831, in _do_check for descr in self.expand_files(files_or_modules): File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\lint.py", line 872, in expand_files self.add_message(key, args=message) File "C: \Users\ USERNAME \AppData \Local \Continuum \Anaconda \lib\site-packages\pylint\utils.py", line 390, in add_message self.stats['by_moduld][self.current_name][msg_cat] += 1 KeyError: None
Does anyone have any thoughts on resolution? Thanks!
source share