<?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 Moving location of the Python27 directory in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/moving-location-of-the-python27-directory/m-p/422339#M33208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to move the Python27 directory to a different location. How do I tell ArcGIS how to find the new place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the distribution from ESRI a strict superset of the standard distribution? ie, as long as I don't have anything in site-packages that I'll miss, can I just throw away my existing Python27 directory that was download from the python site?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the highest release number within 2.7 that is valid for ArcGIS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Aug 2012 21:09:26 GMT</pubDate>
    <dc:creator>DavidStrip</dc:creator>
    <dc:date>2012-08-04T21:09:26Z</dc:date>
    <item>
      <title>Moving location of the Python27 directory</title>
      <link>https://community.esri.com/t5/python-questions/moving-location-of-the-python27-directory/m-p/422339#M33208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to move the Python27 directory to a different location. How do I tell ArcGIS how to find the new place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the distribution from ESRI a strict superset of the standard distribution? ie, as long as I don't have anything in site-packages that I'll miss, can I just throw away my existing Python27 directory that was download from the python site?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the highest release number within 2.7 that is valid for ArcGIS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 21:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/moving-location-of-the-python27-directory/m-p/422339#M33208</guid>
      <dc:creator>DavidStrip</dc:creator>
      <dc:date>2012-08-04T21:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Moving location of the Python27 directory</title>
      <link>https://community.esri.com/t5/python-questions/moving-location-of-the-python27-directory/m-p/422340#M33209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thought that this was fixed in 10.1 to use the standard install.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I prefer python to be in C:\Python27 so that all other modules have this expected location. Some things such as the python help seem to be hardcoded for this location, not c:\Python27\ArcGIS10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All you have to do is save the &lt;/SPAN&gt;&lt;STRONG&gt;Desktop10.1.pth&lt;/STRONG&gt;&lt;SPAN&gt; file in site-packages, and the other modules &lt;/SPAN&gt;&lt;STRONG&gt;numpy&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;matplotlib&lt;/STRONG&gt;&lt;SPAN&gt;, uninstall python, delete the pesky directory and reinstall python2.7.x from the standard distribution. Then copy back the modules and the pth file which locates the arcpy modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time you install a service pack, rerun the python install to repair the paths back to normal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have never had any problem with any dot release of the main version eg 2.6.x or 2.7.x which should only be bug fixes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You may not get the bug fixed if you run the script in-process because the python version is imbedded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While you are there, install the Pythonwin package which gives you extra modules to win32 API, COM interfaces to MS Office applications, message boxes and even the registry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A new location? Be careful what you do about that. You &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;cannot&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; have any spaces in the path. Maybe you are an 'administrator' who thinks that c:\Program Files (x86) would be tidier? You will condemn everyone to inexplicable crashes and error messages.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 00:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/moving-location-of-the-python27-directory/m-p/422340#M33209</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2012-08-09T00:09:03Z</dc:date>
    </item>
  </channel>
</rss>

