sparsetools intel mac install problem and 2 failed tests
Hi All, I just finished building 0.5.1 on my MacBook Pro with NumPy 1.0b5. I followed the instructions on the "Installing SciPy/Mac OS X" page on the wiki and everything seemed to come off without a hitch. That is, the build and installation completed without errors. However, a couple of things aren't working quite right. First off, whenever I do 'from scipy import *' I get the following error that comes from trying to import sparse: ImportError: Failure linking new module: /Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/ sparse/sparsetools.so: Symbol not found: ___dso_handle Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/scipy/sparse/sparsetools.so Expected in: dynamic lookup For the time being, I can do without the sparse module by just commenting out its inclusion in the setup.py file, but I just thought I'd see if anyone else has figured out how to fix this issue. I saw earlier posts, but no definitive solution. Also, when I run scipy.test(10), I get the following 2 errors: ====================================================================== ERROR: check_integer (scipy.io.tests.test_array_import.test_read_array) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/io/tests/test_array_import.py", line 55, in check_integer from scipy import stats File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/stats/__init__.py", line 7, in ? from stats import * File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/stats/stats.py", line 191, in ? import scipy.special as special File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/special/__init__.py", line 8, in ? from basic import * File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/special/basic.py", line 8, in ? from _cephes import * ImportError: Failure linking new module: /Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/ special/_cephes.so: Symbol not found: ___dso_handle Referenced from: /Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/site-packages/scipy/special/_cephes.so Expected in: dynamic lookup ====================================================================== ERROR: check_simple_todense (scipy.io.tests.test_mmio.test_mmio_coordinate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/scipy/io/tests/test_mmio.py", line 151, in check_simple_todense b = mmread(fn).todense() AttributeError: 'numpy.ndarray' object has no attribute 'todense' ---------------------------------------------------------------------- Ran 413 tests in 1.450s FAILED (errors=2) However, none of the functionality I use regularly seems to be affected, so it's not really an urgent issue for me. Lastly, I just want to say thanks to everyone who has contributed to SciPy. It's really exciting for me to see a truly viable open source, free alternative to Matlab. Cheers, Aaron
participants (1)
-
Aaron Hoover