8000 kage installation error · Issue #14 · kage-genotyper/kage · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kage installation error #14

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

Open
cgroza opened this issue Aug 2, 2024 · 4 comments
Open

kage installation error #14

cgroza opened this issue Aug 2, 2024 · 4 comments

Comments

@cgroza
Copy link
cgroza commented Aug 2, 2024

I install kage via pip3 which works fine:

pip3 install kage-genotyper

However, when I try to run it I get:

cgroza@ubuntu:~$ kage
Traceback (most recent call last):
  File "/home/cgroza/.local/bin/kage", line 5, in <module>
    from kage.command_line_interface import main
  File "/home/cgroza/.local/lib/python3.10/site-packages/kage/command_line_interface.py", line 29, in <module>
    from kmer_mapper.command_line_interface import map_bnp
  File "/home/cgroza/.local/lib/python3.10/site-packages/kmer_mapper/command_line_interface.py", line 12, in <module>
    warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning) 
  File "/home/cgroza/.local/lib/python3.10/site-packages/numpy/__init__.py", line 410, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'VisibleDeprecationWarning'

@ivargr
Copy link
Collaborator
ivargr commented Aug 7, 2024

Hi!

Thanks for asking. I think this might be related to numpy recently having released version 2.0.0, and we have unfortunately not specified that KAGE requires version 1. Could you try force installing Numpy version 1 and see if that solves the issue? I.e. run pip3 install numpy==1.24 and then trying to run kage again.

If that solves the issue, I'll release a fix when I'm back from vacation next week.

@baozg
Copy link
baozg commented Aug 27, 2024

It resolved in my part!

@eblerjana
Copy link

I'm getting the same error, is there an update on this?

@ivargr
Copy link
Collaborator
ivargr commented Mar 14, 2025

Hi!

I think force installing numpy less than version 2 should solve this issue. I've pushed an update to the kage-genotyper pip package now that solves this (so a force install of kage-genotyper==2.0.7) should also fix it.

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

4 participants
0