<?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: Can't run python stand-alone since upgrading to 10.1 - arcpy and EPD? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506857#M39862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Stuart,&lt;BR /&gt;&lt;BR /&gt;This helps a lot, and your explanation is very clear.&amp;nbsp; I'm in the process of re-installing right now and will set the PATH and PYTHONHOME variables.&amp;nbsp; I had installed the Enthought for python and had forgotten that I had it on my computer.&amp;nbsp; Prior to uninstalling I had tried just changing the the PATH and PYTHONHOME variables, but that alone didn't end up doing the trick.&amp;nbsp; If I'm understanding what you're saying correctly if I want to run 64bit python for scripts outside of ArcGIS I should simply be able to change the PATH and PYTHONHOME variables temporarily to point them to the 64 bit version?&lt;BR /&gt;&lt;BR /&gt;-Tom&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom, currently EPD and ArcGIS are lined up with versions. We have had good luck accessing arcpy from EPD and EPD from arcpy by doing this, and avoiding all the environment variable stuff, which can get your wrapped around the axle in Windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. allow EPD scripts to import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\ArcGIS10.1\lib\site-packages\Desktop10.1.pth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\epd32\lib\site-packages\zzDesktop10.1.pth&amp;nbsp; (use your EPD install folder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. allow arc python scripts to import epd modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create a file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\ArcGIS10.1\lib\site-packages\zzEPD.pth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;including the path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\epd32\lib\site-packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The use of the "zz" prefix is to control the order to make sure the "native" libraries to that environment are loaded first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 21:19:00 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2013-06-20T21:19:00Z</dc:date>
    <item>
      <title>Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506847#M39852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm able to run scripts as tools in ArcToolbox but I can't seem to run them from IDLE directly since upgrading to 10.1.&amp;nbsp; Initially I had SP1 for background geoprocessing but have since rolled that back thinking that it might help.&amp;nbsp; The same problem occurs.&amp;nbsp; I get the following error in IDLE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 12 2012, 15:20:16) [MSC v.1500 64 bit (AMD64)] on win32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type "copyright", "credits" or "license()" for more information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; ================================ RESTART ================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "X:\for_tdilts\outbox\GIS_tools_scripts\ClimaticWaterDeficit\Version10_1\extras\DurCWD_normal.py", line 6, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\__init__.py", line 21, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.geoprocessing import gp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from _base import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: DLL load failed: %1 is not a valid Win32 application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it that ArcGIS somehow is managing to point to 64 bit python but IDLE needs to be directed there?&amp;nbsp; Is there some sort of document with instructions that I need to be following for "post-install" of ArcGIS Desktop???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 21:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506847#M39852</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2013-06-14T21:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506848#M39853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let us see a dump of your environment. From a command prompt enter these commands:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
where python

echo %PYTHONHOME%

echo %PATH%

dir C:\Python27
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506848#M39853</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2021-12-11T22:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506849#M39854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On a related issue, I uninstalled 10.0 and Python 2.6 and installed 10.1 and Python win compatable with 2.7.2 and Pyscripter and I am getting a "cannot import arcpy" error message.&amp;nbsp; Is there some registry issue??? are these problems related///&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 03:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506849#M39854</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2013-06-15T03:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506850#M39855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I beleive they are related, and we could use a look at the same set of environment configurations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should we assume that your inprocess ArcGIS use of Python scripting is correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 13:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506850#M39855</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2013-06-15T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506851#M39856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stuart,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your quick response.&amp;nbsp; I can't seem to get your commands to work.&amp;nbsp; I'm going to the command prompt, typing in "python" to get it to python, and then typing in "where python" I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;File "&amp;lt;stdin&amp;gt;", line 1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where python&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SyntaxError: invalid syntax&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 21:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506851#M39856</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2013-06-17T21:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506852#M39857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I should have been clearer. Those are all Windows OS commands and utilities, just open a Windows command prompt (cmd.exe) window and enter each. Then copy &amp;amp; paste the result to a text editor to clean up for posting to the thread, or take a screen capture and post up the image.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can see already though from you post, that you are launching a 64-bit Python--that will cause problems with 32-bit ArcGIS for Desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuart&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 21:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506852#M39857</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2013-06-17T21:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506853#M39858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stuart,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where didn't work but the others did (see attachment).&amp;nbsp; A while back I had installed the 64-bit python 2.7 for another program that ran on python, and I guess I was thinking that the ArcGIS uninstall would have gotten rid of it and installed the 32-bit version over it.&amp;nbsp; Maybe the best solution would be to wipe python off my computer and re-install from scratch??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 21:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506853#M39858</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2013-06-17T21:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506854#M39859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You appear to be running a 64-bit Enthought Python Distribution, dtd 4-12-2012 as you &lt;/SPAN&gt;&lt;STRONG&gt;default&lt;/STRONG&gt;&lt;SPAN&gt; Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your screen capture, the C:\Python27 directory listing contains a full Python distribution--python.exe, pythonw.exe which look by date to be the 64-bit EPD you show running in IDLE. Would likewise impact Python run from command prompt as your environment variables are pointing to that directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you also have an Esri ArcGIS 10.1 installation done on 5-9-2013. When, since the C:\Python27 would not have been detected as a 32-bit python installation, the Esri ArcGIS installer laid down the 32-bit Python in C:\Python27\ArcGIS10.1--a look in that directory will show you probably have another python.exe and pythonw.exe installed. Fortunately the Windows registry, ArcGIS for Desktop registry settings keep it pointed to the correct Python executables where it reads the Desktop101.pth for proper path actions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But since the system environment variables are pointing to the C:\Python27 directory, the 64-bit python is what is always being called from command prompt or Python IDE environment like IDLE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]To clean things up, you should simply be able to uninstall the Enthought Python Distribution Free 64-bit Python from Add/Remove programs (appwiz.cpl). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then check your Environment variables to adjust the PATH value to reflect a path to "C:\Python27\ArcGIS10.1" and perhaps set a PYTHONHOME variable to "C:\Python27\ArcGIS10.1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your IDLE session, or a windows command line or system scripted launch of Python, will then run with the 32-bit pythonw.exe[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, if you need 64-bit python, or want a packaged Python bundle like Enthought Canopy Express, you have to manage your environment adjusting it to use the appropriate versions. That would include use of Esri's ArcGIS 10.1 SP1 64-bit Desktop Background Geoprocessing installation when running it "out of process", i.e. without the ArcGIS Desktop GUI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 64-bit Desktop Background Geoprocessing installation replaces some 32-bit components of the ArcPy site library with 64-bit equivalents--and the ArcGIS for Desktop does not use the system environment variables to keep track of the executable to run while in-process. But when running scripts outside ArcGIS for Desktop GUI, you have to manage the path and working directories for your 32-bit or 64-bit Python scripting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that is clear enough for you, post back if not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuart&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. not sure why your Windows 7 command line use of &lt;/SPAN&gt;&lt;STRONG&gt;where.exe&lt;/STRONG&gt;&lt;SPAN&gt; is not responding correctly with executable location, it should be.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 02:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506854#M39859</guid>
      <dc:creator>V_StuartFoote</dc:creator>
      <dc:date>2013-06-18T02:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506855#M39860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Stuart,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This helps a lot, and your explanation is very clear.&amp;nbsp; I'm in the process of re-installing right now and will set the PATH and PYTHONHOME variables.&amp;nbsp; I had installed the Enthought for python and had forgotten that I had it on my computer.&amp;nbsp; Prior to uninstalling I had tried just changing the the PATH and PYTHONHOME variables, but that alone didn't end up doing the trick.&amp;nbsp; If I'm understanding what you're saying correctly if I want to run 64bit python for scripts outside of ArcGIS I should simply be able to change the PATH and PYTHONHOME variables temporarily to point them to the 64 bit version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 15:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506855#M39860</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2013-06-18T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506856#M39861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just wanted to mention that my scripts are working again.&amp;nbsp; Thanks so much for all of your help Stuart.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 20:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506856#M39861</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2013-06-20T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run python stand-alone since upgrading to 10.1 - arcpy and EPD?</title>
      <link>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506857#M39862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Stuart,&lt;BR /&gt;&lt;BR /&gt;This helps a lot, and your explanation is very clear.&amp;nbsp; I'm in the process of re-installing right now and will set the PATH and PYTHONHOME variables.&amp;nbsp; I had installed the Enthought for python and had forgotten that I had it on my computer.&amp;nbsp; Prior to uninstalling I had tried just changing the the PATH and PYTHONHOME variables, but that alone didn't end up doing the trick.&amp;nbsp; If I'm understanding what you're saying correctly if I want to run 64bit python for scripts outside of ArcGIS I should simply be able to change the PATH and PYTHONHOME variables temporarily to point them to the 64 bit version?&lt;BR /&gt;&lt;BR /&gt;-Tom&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom, currently EPD and ArcGIS are lined up with versions. We have had good luck accessing arcpy from EPD and EPD from arcpy by doing this, and avoiding all the environment variable stuff, which can get your wrapped around the axle in Windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. allow EPD scripts to import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;copy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\ArcGIS10.1\lib\site-packages\Desktop10.1.pth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\epd32\lib\site-packages\zzDesktop10.1.pth&amp;nbsp; (use your EPD install folder)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. allow arc python scripts to import epd modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create a file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\ArcGIS10.1\lib\site-packages\zzEPD.pth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;including the path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Python27\epd32\lib\site-packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The use of the "zz" prefix is to control the order to make sure the "native" libraries to that environment are loaded first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 21:19:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-t-run-python-stand-alone-since-upgrading-to-10/m-p/506857#M39862</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-06-20T21:19:00Z</dc:date>
    </item>
  </channel>
</rss>

