Dear support,
I am trying to connect to a pvserver and I can do it with the GUI. However I need to use an IDE to debug better my scripts and I am struggling with it. I have the same python version as the paraview installation and I understand that I need to load the same environtment. However my pycharm execution freezes when I do this:
import os
import sys
# Hardcoded version from print(sys.path) at GUI's python terminal
for item in ['C:\\Program Files\\ParaView-6.0.0\\bin\\lib\\site-packages', 'C:\\Program Files\\ParaView-6.0.0\\bin\\python312.zip', 'C:\\Program Files\\ParaView-6.0.0\\bin\\DLLs', 'C:\\Program Files\\ParaView-6.0.0\\bin\\Lib', 'C:\\Program Files\\ParaView-6.0.0\\bin', 'C:\\Program Files\\ParaView-6.0.0\\bin\\Lib\\site-packages', 'C:\\Program Files\\ParaView-6.0.0\\bin\\Lib\\site-packages\\win32', 'C:\\Program Files\\ParaView-6.0.0\\bin\\Lib\\site-packages\\win32\\lib', 'C:\\Program Files\\ParaView-6.0.0\\bin\\Lib\\site-packages\\Pythonwin']:
sys.path.append(item)
from paraview.simple import *
Connect("localhost")
And also it is not able to track the libraries even after adding the paths. I also tried using the pvpython.exe in pycharm but it gives me an error when using it as interpreter. Any help on this topic would be very useful!