Skip to content

Fail when using taichi (Exception: Picked an invalid source context) #45

@WangWei90

Description

@WangWei90

Your package is so useful that I stop using ipython anymore. Thank you!

I start using taichi recently and I encounter an error, the minimal sample is list below.

import stackprinter
import taichi as ti

stackprinter.set_excepthook(style="darkbg2")


@ti.kernel
def my_kernel() -> float:
    return "22"


my_kernel()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions