Skip to content

Plotting issue using kat plot spectra-hist function #180

@criveralopez

Description

@criveralopez

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions