Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL crashes when importing pyvista objects #1080

Open
germa89 opened this issue Mar 12, 2024 · 0 comments
Open

REPL crashes when importing pyvista objects #1080

germa89 opened this issue Mar 12, 2024 · 0 comments

Comments

@germa89
Copy link

germa89 commented Mar 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant