[Paraview] issue from 2014 seemingly not resolved?

Amine Aboufirass Amine.Aboufirass at deltares.nl
Fri Jul 21 05:07:15 EDT 2017


Dear all,

I would like to bring attention to the following thread (http://public.kitware.com/pipermail/paraview/2014-June/031517.html). I am experiencing the exact same problem. It seems like this error is recurrent whether the dll bin directory is included in PYTHONPATH and system PATH or not:

Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import paraview.simple
Error: Could not import vtkCommonComputationalGeometryPython

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import paraview.simple
  File "C:\Program Files\ParaView 5.0.1\lib\paraview-5.0\site-packages\paraview\simple.py", line 39, in <module>
    import servermanager
  File "C:\Program Files\ParaView 5.0.1\lib\paraview-5.0\site-packages\paraview\servermanager.py", line 48, in <module>
    import paraview, re, os, os.path, new, sys, atexit, vtk
  File "C:\Program Files\ParaView 5.0.1\lib\paraview-5.0\site-packages\paraview\vtk\__init__.py", line 7, in <module>
    from vtkCommonCorePython import *
ImportError: DLL load failed: The specified module could not be found.
>>>

The link provided shows a work-around which works for me. Namely:

>>> import os
>>> os.chdir(r'C:\Program Files\ParaView 5.0.1\bin')
>>> import paraview.simple

Although this works it would be good to determine the underlying reason why the regular method does not. Again I am including the bin directory in both pythonpath and system environment path as proven by the following:

>>> string = r'C:\Program Files\ParaView 5.0.1\bin'
>>> string in os.environ["PATH"]
True
>>> string in sys.path
True

I also tried to track down the user who was facing a similar problem back in 2014 (livia.barazzetti at istb.unibe.ch) to see if she ended up figuring out the solution. Unfortunately her name is not in the mailing list anymore which to me implies she is either not a user anymore or has become so proficient that she doesn't use the mailing list anymore.

Thanks for your consideration and look forward to hearing from you.

Amine Aboufirass
DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170721/2e69e8f2/attachment.html>


More information about the ParaView mailing list