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

Plotting issue using kat plot spectra-hist function #180

Open
criveralopez opened this issue Sep 5, 2023 · 0 comments
Open

Plotting issue using kat plot spectra-hist function #180

criveralopez opened this issue Sep 5, 2023 · 0 comments

Comments

@criveralopez
Copy link

Is anyone else experiencing this issue when running kat plot spectra-hist?

(kat_env) KAT_kmer_analysis % kat plot spectra-hist kat.hist
Kmer Analysis Toolkit (KAT) V2.4.2

Traceback (most recent call last):
  File "/usr/local/Cellar/kat/2.4.2/share/kat/scripts/kat/plot/spectra_hist.py", line 6, in <module>
    from misc import *
  File "/usr/local/Cellar/kat/2.4.2/share/kat/scripts/kat/plot/misc.py", line 1, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/kat/2.4.2/share/kat/scripts/kat/plot/spectra_hist.py", line 8, in <module>
    from kat.plot.misc import *
  File "/usr/local/Cellar/kat/2.4.2/share/kat/scripts/kat/plot/misc.py", line 1, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
../lib/include/kat/pyhelper.hpp(159): Throw in function void kat::PyHelper::execute(const std::__1::string, int, char **)
Dynamic exception type: boost::wrapexcept<kat::KatPythonException>
std::exception::what: std::exception
[kat::KatPythonError*] = Unexpected python error

I am doing this in a conda environment with python 3.6 and all the necessary python packages, including numpy. I am unclear how to proceed with this, so would appreciate any help here. Thanks!

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

1 participant