dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
70 stars 39 forks source link

KeyError: <ufunc 'invert'> at Assembly Step7 #490

Closed mydjc closed 1 year ago

mydjc commented 1 year ago

Assembly Step7, error after applying filters reached 100%, the assembly interrupted.

Some said it could caused by the wrong version combination of numba or numpy, I have tried some combinations according to the Version support information from https://numba.readthedocs.io/en/stable/user/installing.html.

But none of them works without interruption. I am really confused since I am not good at python.

---------------------------------------------- the python console----------------------------------------------------- Parallel connection | mydjc-manjora: 11 cores [####################] 100% 0:00:02 | applying filters | s7 | Encountered an Error. Message: KeyError: <ufunc 'invert'> ---------------------------------------------- the python console-----------------------------------------------------

OS:5.15.55-1-MANJARO (64-bit) python:3.9.12 ipyrad:0.9.84 some possable involved packages vision: numba==0.56.0、numpy==1.22.4、llvmlite==0.39.0.

isaacovercast commented 1 year ago

It sounds like a version issue of some package, so I think the first thing to try would be to blow away your conda environment, create a new clean environment, and reinstall ipyrad from scratch. Can you try that and let me know how it goes?

conda create -n new_ipyrad
conda activate new_ipyrad
conda install -c conda-forge -c bioconda ipyrad

Good luck.

mydjc commented 1 year ago

Thank you very much. It works well in a new clean environment. Maybe the the previous Error was caused by the incomplete conda installation with some trivial pip remedy, After all, it is not rare to see conda install timeout in my country.

In a word, it is best to only use conda to install ipyrad completely.