Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda installation issue #8

Open
mlcoleman opened this issue Apr 29, 2023 · 2 comments
Open

conda installation issue #8

mlcoleman opened this issue Apr 29, 2023 · 2 comments

Comments

@mlcoleman
Copy link

mlcoleman commented Apr 29, 2023

I was unable to install via conda. Got the following error:
UnsatisfiableError: The following specifications were found to be incompatible with each other:
(but nothing listed)

I was however able to install via github source, after modifying the numpy requirement (in setup.py) from 'numpy~=1.19.4' to 'numpy>=1.19.4'. But then the tiara step did not run successfully:

Running tiara with 1 thread...
Traceback (most recent call last):
  File "/Users/minimo/miniconda3/envs/whokaryote/bin/tiara", line 5, in <module>
    from tiara.main import main
  File "/Users/minimo/miniconda3/envs/whokaryote/lib/python3.8/site-packages/tiara/__init__.py", line 1, in <module>
    from tiara.src.transformations import TfidfWeighter
  File "/Users/minimo/miniconda3/envs/whokaryote/lib/python3.8/site-packages/tiara/src/transformations.py", line 8, in <module>
    from numba.typed import List as NumbaList
  File "/Users/minimo/miniconda3/envs/whokaryote/lib/python3.8/site-packages/numba/__init__.py", line 42, in <module>
    from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
  File "/Users/minimo/miniconda3/envs/whokaryote/lib/python3.8/site-packages/numba/np/ufunc/__init__.py", line 3, in <module>
    from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
  File "/Users/minimo/miniconda3/envs/whokaryote/lib/python3.8/site-packages/numba/np/ufunc/decorators.py", line 3, in <module>
    from numba.np.ufunc import _internal
SystemError: initialization of _internal failed without raising an exception
@franlat
Copy link

franlat commented Sep 6, 2023

I had the same issue but found a workaround. I installed tiara first with conda: conda install -c conda-forge tiara, then downgraded the numpy version to 1.19.4 with conda install -c conda-forge numpy=1.19.4 and last, I installed whokaryote as documented: conda install -c bioconda whokaryote. Now it works!

@erfanshekarriz
Copy link

erfanshekarriz commented Sep 12, 2023

for conda beginners, you can use a one-liner! conda install -c conda-forge -c bioconda tiara numpy=1.19.4 whokaryote . Make sure to create an environment pre-hand and activate it first .e.g conda create -n whokaryote -y && conda activate whokaryote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants