Roth-Lab / pyclone-vi

Fast method for inferring cancer clonal population structure from SNV data.
GNU General Public License v3.0
50 stars 11 forks source link

AttributeError: module 'numba' has no attribute 'jitclass' #7

Closed jchenpku closed 3 years ago

jchenpku commented 3 years ago

$pyclone-vi --help Traceback (most recent call last): File "/miniconda3/envs/pyclone-vi/bin/pyclone-vi", line 5, in from pyclone_vi.cli import main File "/miniconda3/envs/pyclone-vi/lib/python3.8/site-packages/pyclone_vi/cli.py", line 3, in import pyclone_vi.run File "/miniconda3/envs/pyclone-vi/lib/python3.8/site-packages/pyclone_vi/run.py", line 4, in from pyclone_vi.data import load_data File "/miniconda3/envs/pyclone-vi/lib/python3.8/site-packages/pyclone_vi/data.py", line 172, in @numba.jitclass([ AttributeError: module 'numba' has no attribute 'jitclass'

aroth85 commented 3 years ago

Apologies. Numba has moved the jitclass to a different package. If you install an older version of numba through conda it should work. I will try to patch pyclone-vi in the next few days to work with the updated version.

aroth85 commented 3 years ago

Should be fixed in f498d09fcd76fc8c3c7a18375b8f8b82cfd70ae4. Let me know if there is any issue.

jchenpku commented 3 years ago

Now the error disappeared. Thanks.