# Connect to pvserver with pycharm

**URL:** https://discourse.paraview.org/t/connect-to-pvserver-with-pycharm/17482
**Category:** ParaView Support
**Created:** [March 18, 2026, 7:17pm UTC](https://discourse.paraview.org/t/connect-to-pvserver-with-pycharm/17482 "2026-03-18T19:17:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [March 18, 2026, 7:17pm UTC](https://discourse.paraview.org/t/connect-to-pvserver-with-pycharm/17482/1 "2026-03-18T19:17:05Z")

</div>

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:

```auto
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!
