conda-forge / vtk-feedstock

A conda-smithy repository for vtk.
BSD 3-Clause "New" or "Revised" License
13 stars 64 forks source link

vtk is too picky on libdouble-conversion version #83

Closed alexdesiqueira closed 5 years ago

alexdesiqueira commented 5 years ago

Hey everyone, vtk is very specific on the version of libdouble-conversion:

In [2]: from vtkPVServerImplementationCorePython import *                                      
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-fc517bac943d> in <module>
----> 1 from vtkPVServerImplementationCorePython import *

ImportError: libdouble-conversion.so.3.0.0: cannot open shared object file: No such file or directory

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):

``` $ conda list # packages in environment at /home/alex/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py36_0 alabaster 0.7.12 py_0 conda-forge anaconda-client 1.7.2 py_0 conda-forge anaconda-navigator 1.9.7 py36_0 anaconda-project 0.8.2 py_1 conda-forge appdirs 1.4.3 py_1 conda-forge asn1crypto 0.24.0 py36_1003 conda-forge astroid 2.2.5 py36_0 conda-forge astropy 3.1.2 py36h14c3975_0 conda-forge atk 2.25.90 hf2eb9ee_1001 conda-forge atomicwrites 1.3.0 py_0 conda-forge attrs 19.1.0 py_0 conda-forge automat 0.7.0 py_1 conda-forge babel 2.6.0 py_1 conda-forge backcall 0.1.0 py_0 conda-forge backports 1.0 py_2 conda-forge backports.os 0.1.1 py36_1000 conda-forge backports.shutil_get_terminal_size 1.0.0 py_3 conda-forge bcrypt 3.1.4 py36h470a237_0 conda-forge beautifulsoup4 4.7.1 py36_1001 conda-forge bitarray 0.9.2 py36h516909a_0 conda-forge bkcharts 0.2 py36_0 conda-forge blas 1.1 openblas conda-forge blaze 0.11.3 py36_0 conda-forge bleach 3.1.0 py_0 conda-forge blinker 1.4 py_1 conda-forge blosc 1.16.3 hf484d3e_0 conda-forge bokeh 1.1.0 py36_0 conda-forge boto 2.49.0 py_0 conda-forge boto3 1.9.137 py_0 conda-forge botocore 1.12.137 py_0 conda-forge bottleneck 1.2.1 py36h3010b51_1001 conda-forge bz2file 0.98 py_0 conda-forge bzip2 1.0.6 h14c3975_1002 conda-forge ca-certificates 2019.3.9 hecc5488_0 conda-forge cairo 1.14.12 h80bd089_1005 conda-forge certifi 2019.3.9 py36_0 conda-forge cffi 1.12.3 py36h8022711_0 conda-forge chardet 3.0.4 py36_1003 conda-forge click 7.0 py_0 conda-forge cloudpickle 0.8.1 py_0 conda-forge clyent 1.2.2 py_1 conda-forge codecov 2.0.15 py_1 conda-forge colorama 0.4.1 py_0 conda-forge conda 4.6.14 py36_0 conda-forge conda-build 3.17.8 py36_1 conda-forge conda-env 2.6.0 1 conda-forge conda-verify 3.1.1 py36_1000 conda-forge constantly 15.1.0 py_0 conda-forge contextlib2 0.5.5 py_2 conda-forge coverage 4.5.3 py36h14c3975_0 conda-forge cryptography 2.6.1 py36h72c5cf5_0 conda-forge cssselect 1.0.3 py_0 conda-forge curl 7.64.1 hf8cf82a_0 conda-forge cycler 0.10.0 py_1 conda-forge cython 0.29.7 py36he1b5a44_0 conda-forge cytoolz 0.9.0.1 py36h14c3975_1001 conda-forge dask 1.2.0 py_0 conda-forge dask-core 1.2.0 py_0 conda-forge datashape 0.5.4 py_1 conda-forge dbus 1.13.2 h714fa37_1 decorator 4.4.0 py_0 conda-forge defusedxml 0.5.0 py_1 conda-forge distributed 1.27.1 py36_0 conda-forge docutils 0.14 py36_1001 conda-forge double-conversion 3.1.4 hf484d3e_0 conda-forge entrypoints 0.3 py36_1000 conda-forge et_xmlfile 1.0.1 py36_0 conda-forge expat 2.2.5 hf484d3e_1002 conda-forge fastcache 1.1.0 py36h516909a_0 conda-forge ffmpeg 4.0.2 ha0c5888_2 conda-forge filelock 3.0.10 py_0 conda-forge flake8 3.7.7 py36_0 conda-forge flask 1.0.2 py_2 conda-forge flask-cors 3.0.7 py_0 conda-forge fontconfig 2.13.1 he4413a7_1000 conda-forge freeglut 3.0.0 hf484d3e_1005 conda-forge freetype 2.10.0 he983fc9_0 conda-forge fribidi 1.0.5 h14c3975_1000 conda-forge future 0.17.1 py36_1000 conda-forge gdk-pixbuf 2.36.12 h4f1c04b_1001 conda-forge gensim 3.7.1 py36he1b5a44_1 conda-forge get_terminal_size 1.0.0 haa9412d_0 gettext 0.19.8.1 hc5be6a0_1002 conda-forge gevent 1.4.0 py36h14c3975_0 conda-forge giflib 5.1.9 h516909a_0 conda-forge glew 2.0.0 hf484d3e_1002 conda-forge glib 2.56.2 had28632_1001 conda-forge glob2 0.6 py_0 conda-forge gmp 6.1.2 hf484d3e_1000 conda-forge gmpy2 2.0.8 py36hb20f59a_1002 conda-forge gnutls 3.5.19 h2a4e5f8_1 conda-forge gobject-introspection 1.56.1 py36h9e29830_1001 conda-forge graphite2 1.3.13 hf484d3e_1000 conda-forge greenlet 0.4.15 py36h516909a_0 conda-forge gst-plugins-base 1.14.0 hbbd80ab_1 gstreamer 1.14.0 hb453b48_1 h5py 2.9.0 nompi_py36hf008753_1102 conda-forge harfbuzz 1.9.0 he243708_1001 conda-forge hdf4 4.2.13 h9a582f1_1002 conda-forge hdf5 1.10.4 nompi_h3c11f04_1106 conda-forge heapdict 1.0.0 py36_1000 conda-forge html5lib 1.0.1 py_0 conda-forge hyperlink 17.3.1 py_0 conda-forge icu 58.2 hf484d3e_1000 conda-forge idna 2.8 py36_1000 conda-forge imageio 2.5.0 py36_0 conda-forge imagesize 1.1.0 py_0 conda-forge importlib_metadata 0.8 py36_0 conda-forge imread 0.7.0 py36h911c6d5_1001 conda-forge incremental 17.5.0 py_0 conda-forge intel-openmp 2019.3 199 ipykernel 5.1.0 py36h24bf2e0_1002 conda-forge ipython 7.5.0 py36h24bf2e0_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 7.4.2 py_0 conda-forge isort 4.3.18 py36_0 conda-forge itsdangerous 1.1.0 py_0 conda-forge jasper 1.900.1 h07fcdf6_1006 conda-forge jbig 2.1 h14c3975_2001 conda-forge jdcal 1.4.1 py_0 conda-forge jedi 0.13.3 py36_0 conda-forge jeepney 0.4 py_0 conda-forge jinja2 2.10.1 py_0 conda-forge jmespath 0.9.4 py_0 conda-forge jpeg 9c h14c3975_1001 conda-forge jsoncpp 1.8.4 h6bb024c_1001 conda-forge jsonschema 3.0.1 py36_0 conda-forge jupyter 1.0.0 py_2 conda-forge jupyter_client 5.2.4 py_3 conda-forge jupyter_console 6.0.0 py_0 conda-forge jupyter_core 4.4.0 py_0 conda-forge jupyterlab 0.35.5 py36_0 conda-forge jupyterlab_server 0.2.0 py_0 conda-forge keyring 19.0.1 py36_0 conda-forge kiwisolver 1.1.0 py36hc9558a2_0 conda-forge krb5 1.16.3 h05b26f9_1001 conda-forge lazy-object-proxy 1.3.1 py36h14c3975_1000 conda-forge libarchive 3.3.3 he5c8681_1003 conda-forge libblas 3.8.0 5_h6e990d7_netlib conda-forge libcblas 3.8.0 5_h6e990d7_netlib conda-forge libcurl 7.64.1 hda55be3_0 conda-forge libedit 3.1.20170329 hf8c457e_1001 conda-forge libffi 3.2.1 he1b5a44_1006 conda-forge libgcc-ng 8.2.0 hdf63c60_1 libgfortran 3.0.0 1 conda-forge libgfortran-ng 7.3.0 hdf63c60_0 libglu 9.0.0 hf484d3e_1000 conda-forge libiconv 1.15 h516909a_1005 conda-forge liblapack 3.8.0 5_h6e990d7_netlib conda-forge liblief 0.9.0 h1532aa0_0 conda-forge libnetcdf 4.6.2 hbdf4f91_1001 conda-forge libogg 1.3.2 h14c3975_1001 conda-forge libopenblas 0.2.20 h9ac9557_7 libpng 1.6.37 hed695b0_0 conda-forge libprotobuf 3.5.2 hd28b015_1 conda-forge libsodium 1.0.16 h14c3975_1001 conda-forge libssh2 1.8.2 h22169c7_2 conda-forge libstdcxx-ng 8.2.0 hdf63c60_1 libtheora 1.1.1 h14c3975_1001 conda-forge libtiff 4.0.10 h648cc4a_1001 conda-forge libtool 2.4.6 h14c3975_1002 conda-forge libuuid 2.32.1 h14c3975_1000 conda-forge libvorbis 1.3.5 h14c3975_1001 conda-forge libwebp 1.0.2 h576950b_1 conda-forge libxcb 1.13 h14c3975_1002 conda-forge libxml2 2.9.9 h13577e0_0 conda-forge libxslt 1.1.32 h4785a14_1002 conda-forge llvmlite 0.28.0 py36hdbcaa40_0 conda-forge locket 0.2.0 py_2 conda-forge lxml 4.3.3 py36h7ec2d77_0 conda-forge lz4-c 1.8.1.2 0 conda-forge lzo 2.10 h14c3975_1000 conda-forge markupsafe 1.1.1 py36h14c3975_0 conda-forge matplotlib 2.2.2 py36hb69df0a_2 mccabe 0.6.1 py_1 conda-forge mesalib 18.3.1 h590aaf7_0 conda-forge mistune 0.8.4 py36h14c3975_1000 conda-forge mkl 2019.3 199 mkl-service 1.1.2 py36_3 mkl_fft 1.0.12 py36h516909a_1 conda-forge mkl_random 1.0.4 py36hf2d7682_0 conda-forge mock 3.0.3 py36_0 conda-forge more-itertools 4.3.0 py36_1000 conda-forge mpc 1.1.0 hb20f59a_1006 conda-forge mpfr 4.0.2 ha14ba45_0 conda-forge mpmath 1.1.0 py_0 conda-forge msgpack-python 0.6.1 py36h6bb024c_0 conda-forge multipledispatch 0.6.0 py_0 conda-forge navigator-updater 0.2.1 py36_0 nbconvert 5.5.0 py_0 conda-forge nbformat 4.4.0 py_1 conda-forge ncurses 6.1 hf484d3e_1002 conda-forge nettle 3.3 0 conda-forge networkx 2.3 py_0 conda-forge nltk 3.2.5 py_0 conda-forge nose 1.3.7 py36_1002 conda-forge notebook 5.7.8 py36_0 conda-forge numba 0.43.1 py36he1b5a44_0 conda-forge numexpr 2.6.9 py36h637b7d7_1000 conda-forge numpy 1.15.4 py36_blas_openblash1522bff_1000 [blas_openblas] conda-forge numpy-base 1.14.3 py36h2b20989_0 numpydoc 0.9.1 py_0 conda-forge oauthlib 3.0.1 py_0 conda-forge odo 0.5.1 py_1 conda-forge olefile 0.46 py_0 conda-forge openblas 0.3.3 h9ac9557_1001 conda-forge opencv 3.4.4 py36_blas_openblashbbbf1d5_201 [blas_openblas] conda-forge openh264 1.8.0 hdbcaa40_1000 conda-forge openpyxl 2.6.1 py_0 conda-forge openssl 1.1.1b h14c3975_1 conda-forge packaging 19.0 py_0 conda-forge pandas 0.24.2 py36hf484d3e_0 conda-forge pandoc 2.7.2 0 conda-forge pandocfilters 1.4.2 py_1 conda-forge pango 1.40.14 hf0c64fd_1003 conda-forge paraview 5.6.0 py36h31a2881_2 conda-forge parso 0.4.0 py_0 conda-forge partd 0.3.9 py_0 conda-forge patchelf 0.9 hf484d3e_1004 conda-forge path.py 12.0.1 py_0 conda-forge pathlib2 2.3.3 py36_1000 conda-forge patsy 0.5.1 py_0 conda-forge pcre 8.43 he6710b0_0 pep8 1.7.1 py_0 conda-forge pexpect 4.7.0 py36_0 conda-forge pickleshare 0.7.5 py36_1000 conda-forge pillow 6.0.0 py36he7afcd5_0 conda-forge pip 19.1 py36_0 conda-forge pixman 0.34.0 h14c3975_1003 conda-forge pkginfo 1.5.0.1 py_0 conda-forge pluggy 0.9.0 py_0 conda-forge ply 3.11 py_1 conda-forge prometheus_client 0.6.0 py_0 conda-forge prompt_toolkit 2.0.9 py_0 conda-forge psutil 5.6.2 py36h516909a_0 conda-forge pthread-stubs 0.4 h14c3975_1001 conda-forge ptyprocess 0.6.0 py_1001 conda-forge pudb 2019.1 py36_0 conda-forge pugixml 1.9 hf484d3e_1000 conda-forge py 1.8.0 py_0 conda-forge py-lief 0.9.0 py36hf484d3e_0 conda-forge pyamg 4.0.0 py36h637b7d7_1000 conda-forge pyasn1 0.4.4 py_1 conda-forge pyasn1-modules 0.2.4 py_0 conda-forge pycodestyle 2.5.0 py_0 conda-forge pycosat 0.6.3 py36h14c3975_1001 conda-forge pycparser 2.19 py36_1 conda-forge pycrypto 2.6.1 py36h14c3975_1002 conda-forge pycurl 7.43.0.2 py36h1ba5d50_0 pyflakes 2.1.1 py_0 conda-forge pygments 2.3.1 py_0 conda-forge pyhamcrest 1.9.0 py_2 conda-forge pyjwt 1.7.1 py_0 conda-forge pylint 2.3.1 py36_0 conda-forge pyodbc 4.0.24 py36hf484d3e_1000 conda-forge pyopenssl 19.0.0 py36_0 conda-forge pyparsing 2.4.0 py_0 conda-forge pyqt 5.6.0 py36h13b7fb3_1008 conda-forge pyquery 1.4.0 py_0 conda-forge pyrsistent 0.15.1 py36h516909a_0 conda-forge pysocks 1.6.8 py36_1002 conda-forge pytables 3.5.1 py36h442f067_1 conda-forge pytest 4.4.1 py36_0 conda-forge pytest-arraydiff 0.3 py_0 conda-forge pytest-astropy 0.5.0 py_0 conda-forge pytest-cov 2.6.1 py_0 conda-forge pytest-doctestplus 0.3.0 py_0 conda-forge pytest-faulthandler 1.5.0 py36_1000 conda-forge pytest-localserver 0.5.0 py_0 conda-forge pytest-openfiles 0.3.1 py_0 conda-forge pytest-remotedata 0.3.1 py_0 conda-forge pytest-runner 4.4 py_0 conda-forge python 3.6.7 h381d211_1004 conda-forge python-crfsuite 0.9.6 py36h6bb024c_1000 conda-forge python-dateutil 2.8.0 py_0 conda-forge python-libarchive-c 2.8 py36_1004 conda-forge pytz 2019.1 py_0 conda-forge pywavelets 1.0.3 py36hd352d35_1 conda-forge pyyaml 5.1 py36h14c3975_0 conda-forge pyzmq 18.0.1 py36hc4ba49a_1 conda-forge qt 5.6.3 h8bf5577_3 qtawesome 0.5.7 pyh8a2030e_0 conda-forge qtconsole 4.4.3 py_0 conda-forge qtpy 1.7.0 pyh8a2030e_0 conda-forge readline 7.0 hf8c457e_1001 conda-forge requests 2.21.0 py36_1000 conda-forge requests-oauthlib 1.2.0 py_0 conda-forge rope 0.14.0 py_0 conda-forge ruamel_yaml 0.15.71 py36h14c3975_1000 conda-forge s3transfer 0.2.0 py36_0 conda-forge scikit-learn 0.20.3 py36_blas_openblashebff5e3_0 [blas_openblas] conda-forge scipy 1.2.1 py36_blas_openblash1522bff_0 [blas_openblas] conda-forge seaborn 0.9.0 py_0 conda-forge secretstorage 3.1.1 py36_0 conda-forge send2trash 1.5.0 py_0 conda-forge service_identity 17.0.0 py_0 conda-forge setuptools 41.0.1 py36_0 conda-forge simplegeneric 0.8.1 py_1 conda-forge singledispatch 3.4.0.3 py36_1000 conda-forge sip 4.18.1 py36hf484d3e_1000 conda-forge six 1.12.0 py36_1000 conda-forge smart_open 1.8.3 py_0 conda-forge snappy 1.1.7 hf484d3e_1002 conda-forge snowballstemmer 1.2.1 py_1 conda-forge sortedcollections 1.1.2 py_0 conda-forge sortedcontainers 2.1.0 py_0 conda-forge soupsieve 1.9.1 py36_0 conda-forge sphinx 2.0.1 py_0 conda-forge sphinx-gallery 0.3.1 py36_0 conda-forge sphinxcontrib 1.0 py36_1 sphinxcontrib-applehelp 1.0.1 py_0 conda-forge sphinxcontrib-devhelp 1.0.1 py_0 conda-forge sphinxcontrib-htmlhelp 1.0.2 py_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 conda-forge sphinxcontrib-qthelp 1.0.2 py_0 conda-forge sphinxcontrib-serializinghtml 1.1.1 py_0 conda-forge sphinxcontrib-websupport 1.1.0 py_1 conda-forge spyder 3.3.4 py36_0 conda-forge spyder-kernels 0.4.4 py36_0 conda-forge sqlalchemy 1.3.3 py36h516909a_0 conda-forge sqlite 3.26.0 h67949de_1001 conda-forge statsmodels 0.9.0 py36h3010b51_1000 conda-forge sympy 1.4 py36_0 conda-forge tbb 2019.5 hc9558a2_0 conda-forge tblib 1.3.2 py_1 conda-forge terminado 0.8.2 py36_0 conda-forge testpath 0.4.2 py_1001 conda-forge tk 8.6.9 h84994c4_1001 conda-forge toolz 0.9.0 py_1 conda-forge tornado 6.0.2 py36h516909a_0 conda-forge tqdm 4.31.1 py_0 conda-forge traitlets 4.3.2 py36_1000 conda-forge twisted 19.2.0 py36h516909a_0 conda-forge twython 3.7.0 py_0 conda-forge typed-ast 1.3.5 py36h516909a_0 conda-forge unicodecsv 0.14.1 py_1 conda-forge unixodbc 2.3.7 h227dcee_1000 conda-forge urllib3 1.24.2 py36_0 conda-forge urwid 2.0.1 py36h14c3975_1000 conda-forge vtk 8.2.0 py36h4804ed4_200 conda-forge wcwidth 0.1.7 py_1 conda-forge webencodings 0.5.1 py_1 conda-forge werkzeug 0.15.2 py_0 conda-forge wheel 0.33.1 py36_0 conda-forge widgetsnbextension 3.4.2 py36_1000 conda-forge wrapt 1.11.1 py36h14c3975_0 conda-forge wurlitzer 1.0.2 py36_1000 conda-forge x264 1!152.20180806 h14c3975_0 conda-forge xlrd 1.2.0 py_0 conda-forge xlsxwriter 1.1.7 py_0 conda-forge xlwt 1.3.0 py_1 conda-forge xorg-fixesproto 5.0 h14c3975_1002 conda-forge xorg-inputproto 2.3.2 h14c3975_1002 conda-forge xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.9 h516909a_1004 conda-forge xorg-libsm 1.2.3 h84519dc_1000 conda-forge xorg-libx11 1.6.7 h14c3975_1000 conda-forge xorg-libxau 1.0.9 h14c3975_0 conda-forge xorg-libxdmcp 1.1.3 h516909a_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxfixes 5.0.3 h516909a_1004 conda-forge xorg-libxi 1.7.9 h516909a_1002 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-libxt 1.1.5 h14c3975_1002 conda-forge xorg-renderproto 0.11.1 h14c3975_1002 conda-forge xorg-xextproto 7.3.0 h14c3975_1002 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.4 h14c3975_1001 conda-forge yaml 0.1.7 h14c3975_1001 conda-forge zeromq 4.3.1 hf484d3e_1000 conda-forge zict 0.1.4 py_0 conda-forge zipp 0.3.3 py_0 conda-forge zlib 1.2.11 h14c3975_1004 conda-forge zope.interface 4.6.0 py36h14c3975_1000 conda-forge zstd 1.3.3 1 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : base active env location : /home/alex/anaconda3 shell level : 1 user config file : /home/alex/.condarc populated config files : /home/alex/.condarc conda version : 4.6.14 conda-build version : 3.17.8 python version : 3.6.7.final.0 base environment : /home/alex/anaconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/linux-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/alex/anaconda3/pkgs /home/alex/.conda/pkgs envs directories : /home/alex/anaconda3/envs /home/alex/.conda/envs platform : linux-64 user-agent : conda/4.6.14 requests/2.21.0 CPython/3.6.7 Linux/4.19.0-1-amd64 debian/18.2 glibc/2.24 UID:GID : 1000:1000 netrc file : None offline mode : False ```

Thanks for all your help y'all.

grlee77 commented 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.

grlee77 commented 5 years ago

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.

grlee77 commented 5 years ago

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.

alexdesiqueira commented 5 years ago

Hey Greg,

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.

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.

alexdesiqueira commented 5 years ago

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 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).

Yeah, I have this file at /lib.

grlee77 commented 5 years ago

this issue has moved to conda-forge/paraview-feedstock#27