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

sfepy-view doesn't work #1046

Open
TaoChee opened this issue Nov 30, 2023 · 2 comments
Open

sfepy-view doesn't work #1046

TaoChee opened this issue Nov 30, 2023 · 2 comments

Comments

@TaoChee
Copy link

TaoChee commented Nov 30, 2023

issue_sfepy-view_01
issue_sfepy-view_02
Hi all,
I am new to the sfepy. Currently I am trying to follow the example (i.e., linear_elastic_interactive.py) in the Tutorial. It works fine and the result (linear_elasticity.vtk) can also be read by the ParaView.
However, the command "sfepy-view linear_elasticity.vtk" in the Anaconda Prompt doesn't work and the error is as below:
ImportError: DLL load failed while importing vtkFiltersParallelDIY2: The specified module could not be found.
Then I checked the site-packages folder and could find the file "vtkFiltersParallelDIY2.pyi". Could it be an issue that the file is .pyi type, not .py? How can I solve the issue?
Looking foreward to the answer, thank you very much!
Chee

@rc
Copy link
Member

rc commented Dec 11, 2023

FWIW, I have managed making pyvista (and hence sfepy-view) work on Windows with conda by installing miniconda instead of anaconda. It seems that some package in anaconda causes a VTK version mismatch.

@TaoChee
Copy link
Author

TaoChee commented Dec 15, 2023

Thank you Robert. I am using the company laptop, I cannot try with miniconda at the moment. But I will keep this in mind.

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

2 participants