Note that there are some explanatory texts on larger screens.

plurals
  1. POusing the stats package in scipy error in Python?
    primarykey
    data
    text
    <p>I am trying to use the scipy stats package in Python and am getting the following error (on Mac OS X):</p> <pre><code>$ python Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import scipy &gt;&gt;&gt; from scipy import stats </code></pre> <p>I then get the error:</p> <pre><code>Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/stats/__init__.py", line 7, in &lt;module&gt; from stats import * File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/stats/stats.py", line 202, in &lt;module&gt; import scipy.special as special File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/special/__init__.py", line 8, in &lt;module&gt; from basic import * File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/special/basic.py", line 6, in &lt;module&gt; from _cephes import * ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/special/_cephes.so, 2): Symbol not found: _aswfa_ Referenced from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/special/_cephes.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy-0.9.0.dev-py2.6-macosx-10.6-universal.egg/scipy/special/_cephes.so </code></pre> <p>Any idea what could be happening here? </p> <p>thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload