Skip to content

"How to resolve the error encountered during the process of importing the function to compute gene-gene distances?" #12

@maaa-a

Description

@maaa-a

"When I was working on computing gene-gene distances, I encountered this error. How can I resolve it? Thank you."
cal_ot_mat_from_numpy <- reticulate::import('gene_trajectory.compute_gene_distance_cmd')$cal_ot_mat_from_numpy
error in py_module_import(module, convert = convert):
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).

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