Skip to content

REPL crashes when importing pyvista objects #1080

Open
@germa89

Description

@germa89

Hi there,

Let say you have a python package (mypackage)

from mypackage.mymodule import another

This package has a module (mymodule.py) which contains:

import pyvista as pv
att = pv.Sphere()
another="var"

then, when you want to import it, it crashes the terminal

using PyCall
mymod = pyimport("mymodule.py")

The problem seems to happen with Pyvista and Julia, where the object generated (att=pv.Sphere()) crashes the REPL.

I tested this with Julia Version 1.10.2 (2024-03-01), and Windows 11.

Related issues:
ansys/pymapdl#2872
pyvista/pyvista#5765

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