Closed alexdesiqueira closed 5 years ago
I am not sure why VTK is trying to dynamically link to a system double-conversion. It appears that VTK bundles its own internal version of the library in the folder ThirdParty/doubleconversion
, and that gets built under the library name libvtkdoubleconversion-8.2.so
. Given that this is the case, I'm not sure why it is looking for an external system double-conversion library. Does this file exist on your system? (it would be in the /lib
subfolder of your anaconda environment).
It looks like conda-forge has its own double-conversion feedstock, so we can probably add that as a dependency and then add -DVTK_USE_SYSTEM_DOUBLECONVERSION:Bool=ON
to the CMake flags. I'm not sure why the current configuration is not working, though.
On second look, is vtkPVServerImplementationCorePython
part of the VTK package? I get a ModuleNotFoundError
if I try to import it. I think that may be part of ParaView rather than VTK proper.
If so, it is probably best to move the issue to the paraview feedstock. Taking a quick look there, it seems that feedstock has not yet been updated for the new compilers and probably needs some work. I am guessing it is just generally incompatible with recent VTK builds.
Hey Greg,
On second look, is
vtkPVServerImplementationCorePython
part of the VTK package? I get aModuleNotFoundError
if I try to import it. I think that may be part of ParaView rather than VTK proper.
I checked, and this module is part of vtk
actually. I used the following code (got the idea here [1]):
import pkgutil
import paraview
import vtk
pack_paraview = paraview
pack_vtk = vtk
for importer, modname, ispkg in pkgutil.iter_modules(pack_paraview.__path__):
if 'ServerImplementation' in modname:
print('Found submodule %s in paraview (is a package: %s)' % (modname, ispkg))
for importer, modname, ispkg in pkgutil.iter_modules(pack_vtk.__path__):
if 'ServerImplementation' in modname:
print('Found submodule %s in vtk (is a package: %s)' % (modname, ispkg))
However, I get the same ModuleNotFoundError
when trying to import it.
Hey Greg,
I am not sure why VTK is trying to dynamically link to a system double-conversion. It appears that VTK bundles its own internal version of the library in the folder
ThirdParty/doubleconversion
, and that gets built under the library namelibvtkdoubleconversion-8.2.so
. Given that this is the case, I'm not sure why it is looking for an external system double-conversion library. Does this file exist on your system? (it would be in the/lib
subfolder of your anaconda environment).
Yeah, I have this file at /lib
.
this issue has moved to conda-forge/paraview-feedstock#27
Hey everyone, vtk is very specific on the version of libdouble-conversion:
Debian stable has version 2.0.1-4; Debian testing/sid, on the other hand, has 3.1.0-3. I tried with both versions, and had the same error. Is it just me, or it should be
libdouble-conversion
higher than 3.0?Environment (
conda list
):Details about
conda
and system (conda info
):Thanks for all your help y'all.