<?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 Re: Python only works in ArcMap in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5274#M468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you get an error outside ArcMap, perhaps something like "no module named arcpy"? Along those lines, do you have multiple python installations on your computer, and are your IDEs pointing to the correct one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 22:55:17 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2015-02-25T22:55:17Z</dc:date>
    <item>
      <title>Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5273#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was working with Python in IDLE and PyScripter but for some reason can't seem to get the code to work in either.&amp;nbsp; The code only works in ArcMap.&amp;nbsp; I am probably missing something simple but can't seem to place my finger on it.&amp;nbsp; If you can help please let me know.&amp;nbsp; I know this is simple code, but I want to run this in windows task scheduler.&amp;nbsp; I really don't want to create a model, run it, then export it as a python script.&amp;nbsp; I though it would be easier to just create a python script from scratch, perhaps not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
import os

arcpy.env.overwriteOutput = True

arcpy.env.workspace = "O:\\Data\\GIS\\Dept\\Fire\\hydrants"
mxd = os.path.join(arcpy.env.workspace,"FireHydrant_Utility.mxd")
mpk = os.path.join(arcpy.env.workspace,"FireHydrant_Package.mpk")

arcpy.PackageMap_management(mxd,mpk,"CONVERT","CONVERT_ARCSDE","#","ALL","DESKTOP","NOT_REFERENCED","ALL","#","#","#")

print "Map Package Complete"&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Heath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5273#M467</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2021-12-10T20:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5274#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you get an error outside ArcMap, perhaps something like "no module named arcpy"? Along those lines, do you have multiple python installations on your computer, and are your IDEs pointing to the correct one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 22:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5274#M468</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-02-25T22:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5275#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go into your IDE outside of python (ie PyScripter or PythonWin), &lt;/P&gt;&lt;P&gt;Import the sys module and get the python path...ie it should look something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import sys&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; sys.path&lt;/P&gt;&lt;P&gt;[... 'C:\\Python27\\ArcGIS10.2\\DLLs', 'C:\\Python27\\ArcGIS10.2\\lib', 'C:\\Python27\\ArcGIS10.2\\lib\\plat-win', 'C:\\Python27\\ArcGIS10.2\\lib\\lib-tk', 'C:\\Python27\\ArcGIS10.2\\Lib\\site-packages\\pythonwin', 'C:\\Python27\\ArcGIS10.2', 'C:\\Python27\\ArcGIS10.2\\lib\\site-packages', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\bin', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\arcpy', 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\ArcToolbox\\Scripts', 'C:\\Python27\\ArcGIS10.2\\lib\\site-packages\\win32', 'C:\\Python27\\ArcGIS10.2\\lib\\site-packages\\win32\\lib'...]&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;The key path is 'C:\\Python27\\ArcGIS10.2.... or whatever your version number is.&amp;nbsp; And if you are using 10.3...it will be different like Python34(?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 23:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5275#M469</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-25T23:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5276#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I print the system path it appears as if all paths point to a 10.2 version or Python27 version.&amp;nbsp; I do have a Python26 installed on my computer from the 10.0 version of Arc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;['C:\\Program Files\\PyScripter\\Lib\\rpyc.zip',&lt;/P&gt;&lt;P&gt;'C:\\Windows\\system32\\python27.zip',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\DLLs',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\plat-win',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\lib-tk',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\site-packages',&lt;/P&gt;&lt;P&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\bin64',&lt;/P&gt;&lt;P&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\arcpy',&lt;/P&gt;&lt;P&gt;'C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\ArcToolbox\\Scripts',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\site-packages\\win32',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\site-packages\\win32\\lib',&lt;/P&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2\\lib\\site-packages\\Pythonwin']&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 14:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5276#M470</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-02-26T14:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5277#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick note: ArcGIS for Desktop 10.3 still uses Python 2.7.8 -- I think it is only ArcGIS Pro that has made the jump to Python 3.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 15:30:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5277#M471</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-02-26T15:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5278#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is ArcGIS Desktop and ArcGIS Server installed on the same machine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, are you using the 32-bit Python for that script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 16:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5278#M472</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-02-26T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5279#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do have ArcGIS Desktop and ArcGIS Server installed on the web box.&amp;nbsp; However, this particular script is running on my local machine creating a map package where I only have ArcGIS Desktop installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 19:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5279#M473</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-02-26T19:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5280#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post the error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 19:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5280#M474</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2015-02-26T19:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5281#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'C:\\Python27\\ArcGISx6410.2&amp;nbsp;&amp;nbsp;&amp;nbsp; suggests that it isn't a conventional install, how was arcmap installed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 19:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5281#M475</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-26T19:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5282#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question IS&amp;nbsp; how can we know if Pyscripter and ArcMap can communicate to each other BUT what if I want just run&amp;nbsp; like a debug first before the actully work in ArcMap ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, you write the code and test it and shows it work and then you can run it either in Python Window or Pyscripter to get the results done ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 21:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5282#M476</guid>
      <dc:creator>DEAF_PROBERT_68</dc:creator>
      <dc:date>2015-02-26T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5283#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try importing the product license before arcpy to run alone. For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arceditor&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 22:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5283#M477</guid>
      <dc:creator>robertbowman</dc:creator>
      <dc:date>2015-02-26T22:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5284#M478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No just Desktop 10.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5284#M478</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-02-27T14:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5285#M479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I test work just fine in ArcMap in the python command window but with i try and run it outside of ArcMap it fails.&amp;nbsp; More specifically the arcpy.PackageMap_management fails and raises error 9999999.&amp;nbsp; This is a general error of course.&amp;nbsp; In thinking that I may have written the code incorrectly or assigned an invalid input I ran the Package Map tool in ArcMap and copied the python code from the geoprocessing results window, then pasted it into PyScripter, and still no luck. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding importing the arceditor as a module and that had no affect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that PyScripter can can see the arcpy module because it will callout available classes and methods as you type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5285#M479</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-02-27T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5286#M480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Heath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your script is getting all the way down to line 10 and breaking on the Package Map tool...then your IDE is properly "importing arcpy" and this is likely not the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you run a quick test: Create a blank new MXD, add one or two simple layers from a local File Geodatabase, edit the paths in your scripts, and re-run.&amp;nbsp; See if you get the same error as before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5286#M480</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-02-27T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5287#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, your code looks good.&amp;nbsp; I just ran in on my machine (although, using ArcGIS 10.3) with a different MXD and it completed successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5287#M481</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-02-27T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5288#M482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script seems to be okay in ArcMap.&amp;nbsp; The code also runs okay in Py.Win.&amp;nbsp; I ran sys.path in both ArcMap and PyScripter.&amp;nbsp; The returns were pointing to different folders in Python27.&amp;nbsp; I think this maybe the problem but not sure, and if it is, I am not sure how to remedy the problem.&amp;nbsp; I'll attach a screenshot.&amp;nbsp; Any suggestions???&lt;IMG alt="Sys Path compare.png" class="image-1 jive-image" src="/legacyfs/online/67662_Sys Path compare.png" style="width: 620px; height: 180px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 16:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5288#M482</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-03-02T16:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5289#M483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you install the 32-bit or 64-bit version of PyScripter?&amp;nbsp; From your screenshot it looks like the 64-bit version.&amp;nbsp; ArcMap is using the 32-bit version of its python install (C:\Python27\ArcGIS10.2) when background geoprocessing is turned off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This &lt;A href="http://gis.stackexchange.com/questions/81089/issue-on-using-pyscripter-with-arcgis-10-2"&gt;GIS StackExchange question&lt;/A&gt; might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Double click the batch file found here: "C:\Python27\ArcGIS10.2\Lib\idlelib\idle.bat"&lt;/LI&gt;&lt;LI&gt;File &amp;gt; Open &amp;gt; "your/package/map/script.py"&lt;/LI&gt;&lt;LI&gt;Run &amp;gt; Run Module (F5)&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 16:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5289#M483</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-03-02T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5290#M484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get the script to run in the idle.bat at &lt;/P&gt;&lt;OL style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;LI&gt;"C:\Python27\ArcGIS10.2\Lib\idlelib\idle.bat"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have the 64 bit pyscripter installed and am running the 64bit machine.&amp;nbsp; I believe that i have installed background geoprocessing in ArcMap.&amp;nbsp; Do i need to call background geoprocessing out in python?&amp;nbsp; Not really sure what my next steps should be...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 19:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5290#M484</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-03-03T19:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5291#M485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the same test but run your script using the .bat file located here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"C:\Python27\ArcGISx6410.2\Lib\idlelib\idle.bat"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this complete successfully?&amp;nbsp; Do you get the 999999 Error when using PyScripter or another method to run your standalone scripts? Try using the 32-bit version of PyScripter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 20:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5291#M485</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-03-03T20:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python only works in ArcMap</title>
      <link>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5292#M486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up installing PyScripter for 32-bit.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 18:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-only-works-in-arcmap/m-p/5292#M486</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2015-03-05T18:50:22Z</dc:date>
    </item>
  </channel>
</rss>

