<?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 hands-on advice on upgrade with the third-party Python packages in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52696#M4182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Hello, Python coders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Your hands-on assistance on the following Python third-party packages' upgrade would be appreciated:&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Description:&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;ArcGIS 10.3 users would like to use the package "Site.py" (or other similar tool) and then to install/ upgrade the third-party Python package "scikit-learn" with "scipy" into the following Windows third-party Python path (i.e., C:\Python27\ArcGIS10.3\Lib\site-packages), so that data engineers can use ArcGIS to directly call the functions from "scikit-learn" and "scipy" inside ArcGIS 10.3 (&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Python 2.7.8)&lt;/SPAN&gt;, without troubles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;Note:&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;When ArcGIS 10.3 was installed into Windows 7, Python 2.7.8 was also installed into: C:\Python27\ArcGIS10.3 ;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;With Python 2.7.8, the two third-party packages "NumPy" and "Matplotlib" also available under the folder: C:\Python27\ArcGIS10.3\Lib\site-packages ;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;The 'built' Windows Python package "scikit-learn" with "scipy" locates at the folder: D:\Python-Packages\ ;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;What is the python "script" more effectively to do this upgrade task?&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;It would be better to install /upgrade &lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;the third-party Python packages,&lt;/SPAN&gt;without Admin privilege (if required, please indicated) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Jan 2016 13:50:26 GMT</pubDate>
    <dc:creator>larryzhang</dc:creator>
    <dc:date>2016-01-31T13:50:26Z</dc:date>
    <item>
      <title>hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52696#M4182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Hello, Python coders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Your hands-on assistance on the following Python third-party packages' upgrade would be appreciated:&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Description:&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;ArcGIS 10.3 users would like to use the package "Site.py" (or other similar tool) and then to install/ upgrade the third-party Python package "scikit-learn" with "scipy" into the following Windows third-party Python path (i.e., C:\Python27\ArcGIS10.3\Lib\site-packages), so that data engineers can use ArcGIS to directly call the functions from "scikit-learn" and "scipy" inside ArcGIS 10.3 (&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Python 2.7.8)&lt;/SPAN&gt;, without troubles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;Note:&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;When ArcGIS 10.3 was installed into Windows 7, Python 2.7.8 was also installed into: C:\Python27\ArcGIS10.3 ;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;With Python 2.7.8, the two third-party packages "NumPy" and "Matplotlib" also available under the folder: C:\Python27\ArcGIS10.3\Lib\site-packages ;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Tahoma; font-size: 13px; padding-left: 90px;"&gt;The 'built' Windows Python package "scikit-learn" with "scipy" locates at the folder: D:\Python-Packages\ ;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;Question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;What is the python "script" more effectively to do this upgrade task?&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;It would be better to install /upgrade &lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13px;"&gt;the third-party Python packages,&lt;/SPAN&gt;without Admin privilege (if required, please indicated) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 13:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52696#M4182</guid>
      <dc:creator>larryzhang</dc:creator>
      <dc:date>2016-01-31T13:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52697#M4183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest route for most is...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you have ArcMap 10.3.1... install ArcGIS PRO ... it produces&lt;UL&gt;&lt;LI&gt;Python 3.4.x&lt;/LI&gt;&lt;LI&gt;SciPy:&amp;nbsp;&amp;nbsp; C:\Python34\Lib\site-packages\scipy&lt;UL&gt;&lt;LI&gt;Stats:&amp;nbsp;&amp;nbsp; C:\Python34\Lib\site-packages\scipy\stats&lt;/LI&gt;&lt;LI&gt;NDimage C:\Python34\Lib\site-packages\scipy\ndimage&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Numpy 1.9&amp;nbsp; C:\Python34\Lib\site-packages\numpy&lt;/LI&gt;&lt;LI&gt;Matplotlib&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Python34\Lib\site-packages\matplotlib&lt;/LI&gt;&lt;LI&gt;Pandas&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Python34\Lib\site-packages\pandas&lt;/LI&gt;&lt;LI&gt;Sympy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Python34\Lib\site-packages\sympy&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sci-kit learn.... &lt;A href="http://scikit-learn.org/stable/" title="http://scikit-learn.org/stable/"&gt;scikit-learn: machine learning in Python — scikit-learn 0.17 documentation&lt;/A&gt;&amp;nbsp; read it there, and if you have the above installed there is no fooling around.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the site packages folder you will find the ArcGISPro.pth file which shows the locations to Pro, Arcetc.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;C:\Program Files\ArcGIS\Pro\bin&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcPy&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;C:\Program Files\ArcGIS\Pro\Resources\ArcToolBox\Scripts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 14:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52697#M4183</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-31T14:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52698#M4184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+1 for Dan's recommendation, but if you need/prefer to stick with ye olde Python 2.7, I strongly recommend not upgrading anything numpy/matplotlib related in the ArcGIS installed version as you can break ArcGIS / ArcPy (I have done this before). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to upgrade/install the scipy stack, use a &lt;A href="https://virtualenv.readthedocs.org/en/latest/"&gt;virtualenv &lt;/A&gt;(my preferred method) or a separate install, like Anaconda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 23:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52698#M4184</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2016-01-31T23:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52699#M4185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for your constructive advice, Luke, good job!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52699#M4185</guid>
      <dc:creator>larryzhang</dc:creator>
      <dc:date>2016-02-01T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52700#M4186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For people wanting to move forward in Python 3.4, and you want to install modules, do note, that they have to be installed separately.&amp;nbsp; This thread cites one common approach and this applies to version 3.4.x as well&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/35155675/packages-getting-installed-only-in-python-2-7-but-not-in-3-5" title="http://stackoverflow.com/questions/35155675/packages-getting-installed-only-in-python-2-7-but-not-in-3-5"&gt;http://stackoverflow.com/questions/35155675/packages-getting-installed-only-in-python-2-7-but-not-in-3-5&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 19:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52700#M4186</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-02-02T19:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52701#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Note:&lt;/EM&gt; Desktop 10.4 includes many these packages too in its standard Python 2.7 stack. (Unfortunately not scikit-learn, but scipy and pandas, among others.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esri.com/esri-news/arcuser/winter-2015/integrating-arcgis-and-scipy" title="http://www.esri.com/esri-news/arcuser/winter-2015/integrating-arcgis-and-scipy"&gt;Integrating ArcGIS and SciPy | ArcUser&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2016 06:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52701#M4187</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-05-15T06:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52702#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So as an Experiment...that I will willing to reinstall for...I did install the new version of numpy/sci-kit learn/ C++ compiler...and I got it to work. I also checked to see if some of my panda's based scripts worked (which involve some numpy) and they also work. Python and Arcpy tools still work. Is it just a matter of time before something breaks? I have trouble running sci-kit learn &amp;nbsp;in process &lt;A _jive_internal="true" href="https://community.esri.com/thread/7031"&gt;scripts more than once in the same map&lt;/A&gt; session (it also creates memory issues in Pycharm as well- something is leaking or something is not interacting well). That said, the numpy library did not show in the 10.4 install like I did for other installs that I have, so it might just be I am not directly calling it. &amp;nbsp;I was curious if anyone here had any insight into why everything still seems to work and some ideas on how to break it?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 03:59:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52702#M4188</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2016-10-18T03:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: hands-on advice on upgrade with the third-party Python packages</title>
      <link>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52703#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't noticed any leaks with Pycharm, but I mostly use Spyder for my work. &amp;nbsp;Perhaps the IDE's handle things differently&amp;nbsp;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/07/17/anaconda-spyder-and-arcgis-pro"&gt;/blogs/dan_patterson/2016/07/17/anaconda-spyder-and-arcgis-pro&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/hands-on-advice-on-upgrade-with-the-third-party/m-p/52703#M4189</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-18T08:28:21Z</dc:date>
    </item>
  </channel>
</rss>

