<?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 - arcpy problems in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336178#M26370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you checked your PATH file to make sure everything's pointing to the right directories?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 14:54:13 GMT</pubDate>
    <dc:creator>Zeke</dc:creator>
    <dc:date>2012-03-30T14:54:13Z</dc:date>
    <item>
      <title>Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336173#M26365</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;After big crash at my laptop my PythonWin doesnt work propertly. Anything what I want to do form arcpy doesnt work. Anybody knows what to do? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and python answer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 325, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "D:\GIS\Cwiczenia\Python\arcpy.py", line 2, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: cannot import name env"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or another example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import sys"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and python answer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 325, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "D:\GIS\Cwiczenia\Python\arcpy.py", line 2, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy import sys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: cannot import name sys"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I reinstal PythonWin, repair ArcGis but nothing works. Still the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything, what I want to do connect with arcpy give the same error "File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 325, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec codeObject in __main__.__dict__and..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody knows what to fix it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 19:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336173#M26365</guid>
      <dc:creator>GrzegorzStanny</dc:creator>
      <dc:date>2012-03-26T19:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336174#M26366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work in IDLE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you keep using PythonWin for arcpy processing you are going to have a bad day. Give PyScripter a whirl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/p/pyscripter/"&gt;http://code.google.com/p/pyscripter/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 20:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336174#M26366</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-03-26T20:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336175#M26367</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 try it in PyScripter and IDLE and still the same error. I think that problem is in scriptutils.py but I have no idea how to fix it. I took this file from friend from another laptop but still the same. Do You have some idea how to fix it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;G.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 15:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336175#M26367</guid>
      <dc:creator>GrzegorzStanny</dc:creator>
      <dc:date>2012-03-27T15:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336176#M26368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;reinstall pythonwin from your ArcMap installation disk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 15:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336176#M26368</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-03-27T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336177#M26369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry that I not respond earlier but I was away. I reinstall pythonwin from me ArcMap installation disk but doesnt work. Later I reinstal Python, pythonwin and repair ArcGis instalation but still nothing, still the same error. Should I reinstal whole ArcGis (I lose my licences? or what to do reinstalation to not lose licences)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my simple questions but I`m new in this environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;G&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 13:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336177#M26369</guid>
      <dc:creator>GrzegorzStanny</dc:creator>
      <dc:date>2012-03-30T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336178#M26370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you checked your PATH file to make sure everything's pointing to the right directories?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 14:54:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336178#M26370</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-03-30T14:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python - arcpy problems</title>
      <link>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336179#M26371</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;SPAN&gt;What do You mean "checked your PATH file". I`m new in using python so if You can please explain me what to do and where I find path file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice day&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Greg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 16:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcpy-problems/m-p/336179#M26371</guid>
      <dc:creator>GrzegorzStanny</dc:creator>
      <dc:date>2012-04-03T16:26:01Z</dc:date>
    </item>
  </channel>
</rss>

