<?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 Module unaccessible running python script through ArcToolbox in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155312#M11989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've developed a python script that basically wraps around a SQL insert statement for an ETL process I run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script uses PYPYODBC and was written in Aptana Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script doesn't run anymore even though PYPYODBC is listed with I run &lt;STRONG&gt;pip list&lt;/STRONG&gt; in both installations of python: in &lt;EM&gt;C:/python27&lt;/EM&gt; and &lt;EM&gt;c:/python27/ArcGIS_10.1&lt;/EM&gt;, and of course it still runs in Aptana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I can see PYPYODBC when I run &lt;EM&gt;pip list &lt;/EM&gt;​from the ArcGIS instance of Python, I would assume when I run the script from ArcToolbox it should have access to that module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what I'm missing or what I did to break this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2015 17:41:12 GMT</pubDate>
    <dc:creator>MatthewBaker2</dc:creator>
    <dc:date>2015-08-06T17:41:12Z</dc:date>
    <item>
      <title>Module unaccessible running python script through ArcToolbox</title>
      <link>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155312#M11989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've developed a python script that basically wraps around a SQL insert statement for an ETL process I run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script uses PYPYODBC and was written in Aptana Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script doesn't run anymore even though PYPYODBC is listed with I run &lt;STRONG&gt;pip list&lt;/STRONG&gt; in both installations of python: in &lt;EM&gt;C:/python27&lt;/EM&gt; and &lt;EM&gt;c:/python27/ArcGIS_10.1&lt;/EM&gt;, and of course it still runs in Aptana.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I can see PYPYODBC when I run &lt;EM&gt;pip list &lt;/EM&gt;​from the ArcGIS instance of Python, I would assume when I run the script from ArcToolbox it should have access to that module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what I'm missing or what I did to break this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 17:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155312#M11989</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2015-08-06T17:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Module unaccessible running python script through ArcToolbox</title>
      <link>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155313#M11990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the 64bit background processing installed? I have had this interfere with pyodbc if the python path along with not having the 64bit odbc drivers installed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 18:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155313#M11990</guid>
      <dc:creator>NickHetrick</dc:creator>
      <dc:date>2015-08-06T18:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Module unaccessible running python script through ArcToolbox</title>
      <link>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155314#M11991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not - but I didn't have it when the script &lt;EM&gt;was &lt;/EM&gt;​working before... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2015 18:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/module-unaccessible-running-python-script-through/m-p/155314#M11991</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2015-08-06T18:30:43Z</dc:date>
    </item>
  </channel>
</rss>

