<?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: ArcGIS 10.1, Python crash on &amp;quot;import arcpy&amp;quot; after installing scipy-stack. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74174#M6073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems I spoke a little too soon. With scipy 0.10.1, I encountered &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ValueError: numpy.dtype has the wrong size, try recompiling&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;when I tried to import stats from scipy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With scipy 0.11.0 installed however, things are working. So, it looks to me like the correct versions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;scipy.__version__
'0.11.0'
numpy.__version__
'1.6.1'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 22:52:47 GMT</pubDate>
    <dc:creator>TomRutherford</dc:creator>
    <dc:date>2021-12-10T22:52:47Z</dc:date>
    <item>
      <title>ArcGIS 10.1, Python crash on &amp;amp;quot;import arcpy&amp;amp;quot; after installing scipy-stack.</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74171#M6070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a frustrating time trying to use &lt;/SPAN&gt;&lt;A href="http://www.scipy.org/" rel="nofollow noopener noreferrer" target="_blank"&gt;scipy&lt;/A&gt;&lt;SPAN&gt; with arcpy in my arcgis project. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm able to successfully install the scipy-stack (Scipy-stack-13.8.17.win32-py2.7) binary from &lt;/SPAN&gt;&lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy-stack" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;, but once It's installed, python crashes ("python.exe has stopped working") as soon as I run import arcpy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I import scipy &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;prior&lt;/SPAN&gt;&lt;SPAN&gt; to importing arcpy, arcpy is imported successfully. In other words, this works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import scipy
import arcpy
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this doesn't:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
#import scipy
import arcpy #"python.exe has stopped working" here
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks to me like the actual crash occurs on line 269 of "ArcGIS\Desktop10.1\arcpy\arcpy\geoprocessing\_base.py," when something called "Data Reviewer Tools.tbx" is being imported (from "ArcGIS\ArcGISDataReviewer\Desktop10.1\ArcToolbox\Toolboxes\Data Reviewer Tools.tbx").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this is happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74171#M6070</guid>
      <dc:creator>TomRutherford</dc:creator>
      <dc:date>2021-12-10T22:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74172#M6071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS requires numpy 1.6.1.&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/install-guides/arcgis-desktop/10.2/index.html#//008700000007000000"&gt;http://resources.arcgis.com/en/help/install-guides/arcgis-desktop/10.2/index.html#//008700000007000000&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need to reinstall numpy 1.6.1&amp;nbsp; and downgrade scipy to v 0.10.1 (or 0.11.0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/"&gt;http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/projects/scipy/files/scipy/0.10.1/"&gt;http://sourceforge.net/projects/scipy/files/scipy/0.10.1/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Aug 2013 21:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74172#M6071</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2013-08-24T21:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74173#M6072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi lpinner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was actually already running numpy 1.6.1, but downgrading to scipy 0.10.1 seems to have solved the issue. Thanks for the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Out of curiosity, how did you know about the 0.10.1 requirement? I wasn't able to find a version requirement when I looked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 16:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74173#M6072</guid>
      <dc:creator>TomRutherford</dc:creator>
      <dc:date>2013-08-26T16:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74174#M6073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems I spoke a little too soon. With scipy 0.10.1, I encountered &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ValueError: numpy.dtype has the wrong size, try recompiling&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;when I tried to import stats from scipy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With scipy 0.11.0 installed however, things are working. So, it looks to me like the correct versions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;scipy.__version__
'0.11.0'
numpy.__version__
'1.6.1'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74174#M6073</guid>
      <dc:creator>TomRutherford</dc:creator>
      <dc:date>2021-12-10T22:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.1, Python crash on "import arcpy" after installing scipy-stack.</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74175#M6074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Out of curiosity, how did you know about the 0.10.1 requirement? I wasn't able to find a version requirement when I looked.&lt;/BLOCKQUOTE&gt;&lt;A href="https://www.google.com/search?q=scipy+numpy+1.6.1+arcpy+OR+arcgis"&gt;Googlefoo&lt;/A&gt;&lt;SPAN&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 20:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-10-1-python-crash-on-amp-amp-quot-import/m-p/74175#M6074</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2013-08-28T20:46:28Z</dc:date>
    </item>
  </channel>
</rss>

