conda-forge / scipy-feedstock

A conda-smithy repository for scipy.
BSD 3-Clause "New" or "Revised" License
6 stars 36 forks source link

0.18.0 not working in 2.7 on OS X #7

Closed ElDeveloper closed 8 years ago

ElDeveloper commented 8 years ago

I'm working on a recipe for emperor at https://github.com/conda-forge/staged-recipes/pull/1070, but I'm seeing a failure in OSX for 2.7:

import: 'emperor'
Traceback (most recent call last):
  File "/Users/travis/miniconda/conda-bld/test-tmp_dir/run_test.py", line 26, in <module>
    import emperor
  File "/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/emperor/__init__.py", line 36, in <module>
    from emperor.core import Emperor
  File "/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/emperor/core.py", line 33, in <module>
    from emperor.util import get_emperor_support_files_dir
  File "/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/emperor/util.py", line 20, in <module>
    from emperor.qiime_backports.util import MetadataMap, summarize_pcoas
  File "/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/emperor/qiime_backports/util.py", line 12, in <module>
    from scipy.spatial import procrustes
  File "/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/scipy/spatial/__init__.py", line 94, in <module>
    from .qhull import *
ImportError: dlopen(/Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/scipy/spatial/qhull.so, 2): Library not loaded: @rpath/libopenblas-r0.2.18.dylib
  Referenced from: /Users/travis/miniconda/envs/_test/lib/python2.7/site-packages/scipy/spatial/qhull.so
  Reason: image not found
TESTS FAILED: emperor-1.0.0beta4-py27_0

I'm not exactly sure how to debug this.

cc @jakirkham @ebolyen

jakirkham commented 8 years ago

Yeah, we made a change to the OpenBLAS package which we discovered breaks ABI after the fact. 😝

So we have been rebuilding things that rely on the BLAS. NumPy is already rebuilt and works. SciPy is mostly rebuilt (couple builds still needed). There are some other things that need a rebuild. Fortunately it is a short list and many of them have already been fixed.

The SciPy build takes awhile as it has a large build matrix and long build times. Will update when it is complete. The change was made in this PR ( https://github.com/conda-forge/scipy-feedstock/pull/6 ). We had a couple of timeouts that needed restarting which might drag this process out a bit unfortunately. 😒

Sorry for the inconvenience.

jakirkham commented 8 years ago

This should be fixed. So am going to close. Please let us know if you are still running into issues.

ElDeveloper commented 8 years ago

Great, thanks a bunch!

On (Jul-26-16|16:02), jakirkham wrote:

This should be fixed. So am going to close. Please let us know if you are still running into issues.


You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/conda-forge/scipy-feedstock/issues/7#issuecomment-235432492