AnsweredAssumed Answered

Pylint Cannot Run in Python Environment Created by ArcMap 10.7.1

Question asked by Zian on Jun 17, 2020
Latest reply on Jun 17, 2020 by Zian

I tried to install pylint in my Python 2 environment and ran into the problem described at pylint2 crashes with "unexpected keyword argument 'inline_comment_prefixes'" · Issue #1318 · PyCQA/pylint · GitHub .


Has anyone been able to get pylint to run in the Python environment that ArcGIS for Desktop 10.7.1 (aka ArcMap) creates?


I tried to update the future module and got:

C:\Python27\ArcGIS10.7\Scripts>pip install future --upgrade
Collecting future
Installing collected packages: future
  Found existing installation: future 0.15.2
Cannot uninstall 'future'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
You are using pip version 18.1, however version 20.2b1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


Extra Details:

- Path to Python: "C:\Python27\ArcGIS10.7\python.exe"

- Version: Python 2.7.16 (v2.7.16:413a49145e, Mar  4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)] on win32