[vtkusers] Cannot import python bindings anymore: module 'dl' has no attribute 'RTLD_NOW'
Nicolas Cedilnik
nicolas.cedilnik at inria.fr
Fri Sep 22 12:39:20 EDT 2017
Hello,
Following a reboot after some system updates, I cannot "import vtk" anymore:
$ python
Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/ncedilni/miniconda3.6/envs/vtscan/lib/python3.6/site-packages/vtk/__init__.py", line 38, in <module>
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
AttributeError: module 'dl' has no attribute 'RTLD_NOW'
Google wasn't very helpful, so I'm posting here… I'm running Fedora 26,
python 3.6 binaries with miniconda and vtk 7.1.1 installed from the
conda-forge repository.
How did I break my VTK install?
Should I file a bug report somewhere?
Thanks for your help,
-- Nicolas
More information about the vtkusers
mailing list