<?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: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565168#M44232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you install any other python libraries after installing ArcGIS 10.2.2? Might be some conflict?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Aug 2014 03:49:06 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2014-08-03T03:49:06Z</dc:date>
    <item>
      <title>Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565163#M44227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Recently upgraded to Arc 10.2.2...no issues during installation.&amp;nbsp; I have been using Pythonwin and Pyscripter with no issues at all until I went to re-examine some graphing examples that I had tested previously this summer with no issues...or so I thought.&amp;nbsp; The code snippet below fails in both programs yielding the error:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Message File Name Line Position &lt;BR /&gt;Traceback&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt; C:\!AV_10\PythonDemos\PyLab\pylabLineGraphDemo2.py 14&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt; C:\Python27\ArcGIS10.2\lib\site-packages\pylab.py 1&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt; C:\Python27\ArcGIS10.2\lib\site-packages\matplotlib\__init__.py 121&amp;nbsp; &lt;BR /&gt;ImportError: matplotlib requires pyparsing &amp;gt;= 1.5.6 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Since I have been known to be crazy, could someone test the code snippet on a version of Pythonwin and/or Pyscripter for a pre-10.2.2 installation?&amp;nbsp; (Note:&amp;nbsp; People copying and pasting code will still have the line numbers if using IE 11...this is a known issue)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT&amp;nbsp;&amp;nbsp; Could someone also test it on 10.2.2 to see if it is just my installation that has gone bad or if it is general in nature.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="python" name="code"&gt;''' import numpy import numpy.random import pylab #data examples, uncomment as desired #xs = numpy.random.randint(0,100, 25); ys = numpy.random.randint(0,100, 25)&amp;nbsp;&amp;nbsp;&amp;nbsp; #random integers #xs = [0,1,2,3,4,5,6,7,8,9,10]; ys = [0,1,2,3,4,5,6,7,8,9,10]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #sequential integers xs = [0,1,2,3,4,5,6,7,8,9,10]; ys = [0.1,0.9,2.1,2.9,4.1,5,5.9,7.1,7.9,9.1,10]&amp;nbsp; #sequential with scatter pylab.scatter(xs, ys,s=20, c='b', marker='+')&amp;nbsp;&amp;nbsp; #blue + markers pylab.title("Sample title") pylab.xlabel("x-axis") pylab.ylabel("y-axis") pylab.text(1,10,"Sample text") fit = pylab.polyfit(xs,ys,1) fit_fn = pylab.poly1d(fit) #plot with blue pluses (b+), solid&amp;nbsp; black line -, try yo&amp;nbsp; yellow circles (yo) dashed line (--k) pylab.plot(xs, ys, 'b+', xs, fit_fn(xs), '-k')&amp;nbsp;&amp;nbsp;&amp;nbsp; pylab.show()&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;PRE class="python" name="code"&gt;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: Dan Patterson Widen audience&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: Dan Patterson&amp;nbsp;&amp;nbsp; broaden scope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2014 20:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565163#M44227</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-02T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565164#M44228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It worked fine on my ArcGIS 10.1 machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 02:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565164#M44228</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-08-03T02:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565165#M44229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for the test and confirmation of my sanity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 02:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565165#M44229</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-03T02:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565166#M44230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly for me (only tried the sequential with scatter graph). I am using 10.2.2.3552 (Advanced).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you figure it out (I can't think of a reason why it doesn't work at your machine).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 03:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565166#M44230</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-08-03T03:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565167#M44231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xander&lt;BR /&gt;Great (not)...How can a flawless installation become flawed &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/angry.png" /&gt;.&amp;nbsp; I guess an uninstall and reinstall is in order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 03:38:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565167#M44231</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-03T03:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565168#M44232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you install any other python libraries after installing ArcGIS 10.2.2? Might be some conflict?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 03:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565168#M44232</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-08-03T03:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565169#M44233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...I just installed pyscripter for python 2.7 after ArcGIS was installed !? (who knows)&lt;BR /&gt;...but I have found a workaround which I am still testing and it works.&amp;nbsp; pyparser is installed in two directories in my installation ....&lt;BR /&gt;c:\python27\ArcGIS10.2\site-packages\pyparsing.py&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and...&lt;/P&gt;&lt;P&gt;c:\python27\ArcGIS10.2\site-packages\matplotlib\pyparsing.py&lt;/P&gt;&lt;P&gt;both are the same installation date and for python 2.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find this strange, but I have two workarounds, both of which I don't like because I prefer not to use the...&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;from&amp;nbsp; somemodule import *&lt;/P&gt;&lt;P&gt;but prefer to use the syntax...&amp;nbsp;&amp;nbsp; somemodule.something when coding&amp;nbsp; i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import pylab&lt;/P&gt;&lt;P&gt;pylab.title("Sample title")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yet pylab is part of matplotlib which I didn't import directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I am done tinkering and checking on whether the installation is OK, I will report back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 04:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565169#M44233</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-03T04:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565170#M44234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes please do report back, since you might not be the only one that will face that problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Aug 2014 04:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565170#M44234</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-08-03T04:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565171#M44235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply...I gave up on tracking down the error so I was forced to change my import statements to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;import numpy as np&lt;/P&gt;&lt;P&gt;from matplotlib import pyparsing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;from matplotlib import pyplot as plt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and institute the&amp;nbsp; &lt;EM&gt;import...as&lt;/EM&gt;&amp;nbsp; and&amp;nbsp; &lt;EM&gt;from...import as&lt;/EM&gt;&amp;nbsp;&amp;nbsp; syntax for clarity.&amp;nbsp;&amp;nbsp; This line in particular:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from matplotlib import pyparsing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was needed to alleviate the pyparsing error, and it doesn't hurt anyway. &lt;/P&gt;&lt;P&gt;I will leave the question open in case someone stumbles on it and finds a real solution, in the interim, thanks for the helpful comments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 05:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565171#M44235</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-16T05:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changes when upgrading from ArcGIS 10.2 to 10.2.2 issues</title>
      <link>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565172#M44236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No updates since my last post, I will still leave this open until such time as a get a brand new machine and install everything from scratch to see if the issue persists or my experience and workaround was a one-off solution.&amp;nbsp; Comments were much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 08:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/changes-when-upgrading-from-arcgis-10-2-to-10-2-2/m-p/565172#M44236</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-10-17T08:11:34Z</dc:date>
    </item>
  </channel>
</rss>

