Closed phiweger closed 4 years ago
But then it doesn't solve the issue:
sourmash compute -k 21 -n 1000 example.fa -o example.sig.json
Traceback (most recent call last):
File ".../miniconda3/envs/lab/bin/sourmash", line 7, in <module>
from sourmash.__main__ import main
File ".../miniconda3/envs/lab/lib/python3.6/site-packages/sourmash/__init__.py", line 10, in <module>
from ._minhash import (MinHash, get_minhash_default_seed, get_minhash_max_hash)
ImportError: dlopen(.../miniconda3/envs/lab/lib/python3.6/site-packages/sourmash/_minhash.cpython-36m-darwin.so, 2): Symbol not found: __ZSt24__throw_out_of_range_fmtPKcz
Referenced from: .../miniconda3/envs/lab/lib/python3.6/site-packages/sourmash/_minhash.cpython-36m-darwin.so
Expected in: flat namespace
in .../miniconda3/envs/lab/lib/python3.6/site-packages/sourmash/_minhash.cpython-36m-darwin.so
The problem seems to be in setup.py
not being sure which gcc
to invoke. See here on this switch.
hi @phiweger is this still a problem?
On installing sourmash via
pip install .../master.zip
on mac OS sierra (10.13.3), the following error is thrown:This is because the current "default mac gcc" does not have a flag
-stdlib
.Downloading the zip and removing
'-stdlib=libc++'
insetup.py
from the following linessolves this: