# Troubleshooting PyCharm Debug Egg File Path Configuration in 3DSlicer

**URL:** <https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458>\
**Category:** Development\
**Created:** [December 1, 2024, 6:40am UTC](https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458 "2024-12-01T06:40:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Amy\_Morton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/amy_morton/32/67318_2.png) [@Amy\_Morton](https://discourse.slicer.org/u/Amy_Morton)\
**Post date:** [December 5, 2024, 4:13pm UTC](https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458/2 "2024-12-05T16:13:01Z")

</div>

I’ve been experiencing similar issues getting my Slicer Python Debug connection to PyCharm up and running.

Windows 10 Enterprise 19045.5131  
Slicer 5.6.2  
PyCharm 2024.3 (Pro)

I had previously installed PyCharm 2024.2.4 and encountered the .egg issue. I also found the stackoverflow thread on extracting- but the path wath still pointed to \_attach\_proces… under the .egg dir. I uninstalled .2.4 and installed 2024.3.

In PyCharm I configured the remote debugger

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/1/51c464cbd27764a7f52a39b09947575f24ac90db.png)

and I successfully built the pydev-pycharm within pycharm terminal as instructed:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/e/6edc4222ce4881dc3ff869b001b6171350a051a6.png)

I also noticed in my extension wizard created test module, the vtk and slicer imports showed an error- on a whim I pip import vtk:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/6/869292f86da0cfd7c22c8be206678a4cb7ae53aa.png)

The import pycharm warnings went away…

I updated my .egg path in the 5.6.2 pydebug

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/3/e32ce089dfe2855f7a32df431fe9073ddee3e0f2.png)

Launch the remote debugger

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7ac2c86aa034d47efb06befa0a743d3b48879c67.png)

Try to Connect to PyCharm debugger within Slicer… and the process just hangs…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/8/388cf3e589f4726c8a8a3aeb52f8f765456bd0ce.png)

---

_[View the full topic](https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458)._
