<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pylint Cannot Run in Python Environment Created by ArcMap 10.7.1 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419403#M32922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to install pylint in my Python 2 environment and ran into the problem described at&amp;nbsp;&lt;A class="link-titled" href="https://github.com/PyCQA/pylint/issues/1318" title="https://github.com/PyCQA/pylint/issues/1318"&gt;pylint2 crashes with "unexpected keyword argument 'inline_comment_prefixes'" · Issue #1318 · PyCQA/pylint · GitHub&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone been able to get pylint to run in the Python environment that ArcGIS for Desktop 10.7.1 (aka ArcMap) creates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to update the future module and got:&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.7\Scripts&amp;gt;pip install future --upgrade&lt;BR /&gt;Collecting future&lt;BR /&gt;Installing collected packages: future&lt;BR /&gt;&amp;nbsp; Found existing installation: future 0.15.2&lt;BR /&gt;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.&lt;BR /&gt;You are using pip version 18.1, however version 20.2b1 is available.&lt;BR /&gt;You should consider upgrading via the 'python -m pip install --upgrade pip' command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra Details:&lt;/P&gt;&lt;P&gt;- Path to Python: "C:\Python27\ArcGIS10.7\python.exe"&lt;/P&gt;&lt;P&gt;- Version: Python 2.7.16 (v2.7.16:413a49145e, Mar&amp;nbsp; 4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)] on win32&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2020 18:00:04 GMT</pubDate>
    <dc:creator>ZianChoy</dc:creator>
    <dc:date>2020-06-17T18:00:04Z</dc:date>
    <item>
      <title>Pylint Cannot Run in Python Environment Created by ArcMap 10.7.1</title>
      <link>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419403#M32922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to install pylint in my Python 2 environment and ran into the problem described at&amp;nbsp;&lt;A class="link-titled" href="https://github.com/PyCQA/pylint/issues/1318" title="https://github.com/PyCQA/pylint/issues/1318"&gt;pylint2 crashes with "unexpected keyword argument 'inline_comment_prefixes'" · Issue #1318 · PyCQA/pylint · GitHub&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone been able to get pylint to run in the Python environment that ArcGIS for Desktop 10.7.1 (aka ArcMap) creates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to update the future module and got:&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.7\Scripts&amp;gt;pip install future --upgrade&lt;BR /&gt;Collecting future&lt;BR /&gt;Installing collected packages: future&lt;BR /&gt;&amp;nbsp; Found existing installation: future 0.15.2&lt;BR /&gt;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.&lt;BR /&gt;You are using pip version 18.1, however version 20.2b1 is available.&lt;BR /&gt;You should consider upgrading via the 'python -m pip install --upgrade pip' command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra Details:&lt;/P&gt;&lt;P&gt;- Path to Python: "C:\Python27\ArcGIS10.7\python.exe"&lt;/P&gt;&lt;P&gt;- Version: Python 2.7.16 (v2.7.16:413a49145e, Mar&amp;nbsp; 4 2019, 01:30:55) [MSC v.1500 32 bit (Intel)] on win32&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419403#M32922</guid>
      <dc:creator>ZianChoy</dc:creator>
      <dc:date>2020-06-17T18:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pylint Cannot Run in Python Environment Created by ArcMap 10.7.1</title>
      <link>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419404#M32923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pylint stopped support for python 2.&amp;nbsp; Did you install a specific version?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pylint.pycqa.org/en/latest/whatsnew/2.0.html" title="http://pylint.pycqa.org/en/latest/whatsnew/2.0.html"&gt;http://pylint.pycqa.org/en/latest/whatsnew/2.0.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 20:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419404#M32923</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-06-17T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pylint Cannot Run in Python Environment Created by ArcMap 10.7.1</title>
      <link>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419405#M32924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good catch. I tried installing 1.9.5 with pip and it succeeds: "Successfully installed pylint-1.9.5" but when I run pylint, I get:&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.7\Scripts&amp;gt;pylint.exe&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\runpy.py", line 174, in _run_module_as_main&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__main__", fname, loader, pkg_name)&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\runpy.py", line 72, in _run_code&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec code in run_globals&lt;BR /&gt;&amp;nbsp; File "C:\Python27\ArcGIS10.7\Scripts\pylint.exe\__main__.py", line 9, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\site-packages\pylint\__init__.py", line 15, in run_pylint&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from pylint.lint import Run&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\site-packages\pylint\lint.py", line 64, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import astroid&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\site-packages\astroid\__init__.py", line 136, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __import__(module[:-3])&lt;BR /&gt;&amp;nbsp; File "c:\python27\arcgis10.7\lib\site-packages\astroid\brain\brain_functools.py", line 7, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from astroid import extract_node&lt;BR /&gt;ImportError: cannot import name extract_node&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 21:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pylint-cannot-run-in-python-environment-created-by/m-p/419405#M32924</guid>
      <dc:creator>ZianChoy</dc:creator>
      <dc:date>2020-06-17T21:31:06Z</dc:date>
    </item>
  </channel>
</rss>

