<?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: Newbie: Runtime error when importing arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477360#M37362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, uninstalling 2.7.2 did indeed solve it. ArcGIS crashed two more times and imports arcpy just fine now. Thank you, although I am not sure "mother nature" has anything to do with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 21:46:18 GMT</pubDate>
    <dc:creator>stephaniemay</dc:creator>
    <dc:date>2011-07-06T21:46:18Z</dc:date>
    <item>
      <title>Newbie: Runtime error when importing arcpy</title>
      <link>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477358#M37360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running ArcGIS 10.0, ArcView license, Windows 7&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am taking an initial stab at using arcpy in ArcGIS 10.0... but so far I can't get out of the gates. when I type "import arcpy" at the command line of the Python window, I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &amp;lt;type 'exceptions.TypeError'&amp;gt;: cannot create weak reference to 'classobj' object&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other possibly relevant info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I installed Python 2.7.2 recently, completely separate from the 2.6 installation, to practice using Python outside of ArcGIS. I thought the paths might be messed up but none of my machine's environment variables make reference to either installation (under System Properties).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- arcpy exists at C:\Program Files\ArcGIS\Desktop10.0\arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 21:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477358#M37360</guid>
      <dc:creator>stephaniemay</dc:creator>
      <dc:date>2011-07-06T21:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie: Runtime error when importing arcpy</title>
      <link>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477359#M37361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are Newbie...don't mess with mother nature...ArcMap requires a certain version of Python installed in a certain path...so uninstall the latest and greatest version of Python (which doesn't add anything you are going to need for a long time) and stick with what ArcMap requires.&amp;nbsp; When you become post-newbie, then there are lots of threads on how to temp fate with other versions and installation priorities and the like.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 21:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477359#M37361</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-07-06T21:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie: Runtime error when importing arcpy</title>
      <link>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477360#M37362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, uninstalling 2.7.2 did indeed solve it. ArcGIS crashed two more times and imports arcpy just fine now. Thank you, although I am not sure "mother nature" has anything to do with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 21:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477360#M37362</guid>
      <dc:creator>stephaniemay</dc:creator>
      <dc:date>2011-07-06T21:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie: Runtime error when importing arcpy</title>
      <link>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477361#M37363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you could always try to tempt her again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 22:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/newbie-runtime-error-when-importing-arcpy/m-p/477361#M37363</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-07-06T22:33:23Z</dc:date>
    </item>
  </channel>
</rss>

