ModularM
Modular3y ago
24 replies
Jack

Module pymatmul not found

@aespeiuk can you try changing hello_interop.mojo to this and running it:
from python.python import Python


def main():
    print("Hello Mojo 🔥!")
    for x in range(9, 0, -3):
        print(x)
    try:
        Python.add_to_path(".")
        Python.add_to_path("./examples")
        let sys = Python.import_module("sys")
        for p in sys.path:
            print(p)
        let test_module = Python.import_module("simple_interop")
        test_module.test_interop_func()
    except e:
        print(e, "could not find module simple_interop")

And show me the output thanks
Was this page helpful?