Skip to content

Commit

Permalink
fix(python): windows vtk path
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Mar 17, 2024
1 parent bc56c0e commit 75f726f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/__init__.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def _windows_dll_path():
import os
import vtk

os.add_dll_directory(vtk.__path__)
vtk_path = vtk.__path__[0]

os.add_dll_directory(vtk_path)
os.path.abspath(os.path.join(os.path.dirname(vtk_path), 'vtk.libs'))

if sys.platform == "win32":
_windows_dll_path()
Expand Down

0 comments on commit 75f726f

Please sign in to comment.