# EditPythonSript command forces Rhino to crash

**URL:** <https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159>\
**Category:** Rhino for Windows\
**Created:** [April 14, 2017, 9:13pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159 "2017-04-14T21:13:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabio\_S](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fabio_s/32/52243_2.png) [@Fabio\_S](https://discourse.mcneel.com/u/Fabio_S)\
**Post date:** [April 14, 2017, 9:13pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/1 "2017-04-14T21:13:15Z")

</div>

Hi network,  
Since today, my Rhino keeps on crashing whenever I run the EditPythonScript command. I have tried to follow some discussions on this forum and on other networks but I have still not found a solution. Has anyone experienced, and resolved, the issue?  
F.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [April 14, 2017, 10:28pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/2 "2017-04-14T22:28:22Z")

</div>

Hi Fabio - has this ever worked for you, or is this the only result you’ve had from EditPythonScript?

-Pascal

---

<div class="post-metadata">

**Author:** ![Fabio\_S](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fabio_s/32/52243_2.png) [@Fabio\_S](https://discourse.mcneel.com/u/Fabio_S)\
**Post date:** [April 15, 2017, 12:29pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/3 "2017-04-15T12:29:59Z")

</div>

Hi Pascal, thanks for the reply.  
The EditPythonScript has always worked and I have used it for scripting until few days ago. The crashing issue has been happening since yesterday and I have no idea what can possibly be the cause. F.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [April 15, 2017, 5:09pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/4 "2017-04-15T17:09:45Z")

</div>

Hi Fabio - what version of Windows are you using? I ask because the ‘Creators’ update has caused a few problems here and there and it has come out in the last few days… did you update?

-Pascal

---

<div class="post-metadata">

**Author:** ![Fabio\_S](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fabio_s/32/52243_2.png) [@Fabio\_S](https://discourse.mcneel.com/u/Fabio_S)\
**Post date:** [April 15, 2017, 5:26pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/5 "2017-04-15T17:26:41Z")

</div>

Hi Pascal - my laptop runs on Win10 and I have not yet updated on WinCreators.

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [April 15, 2017, 6:15pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/7 "2017-04-15T18:15:53Z")

</div>

Is it possible that you installed IronPython on your computer? This article may help

> [@IronPython installation + Rhino 5 / Rhino 6 / Rhino WIP](https://discourse.mcneel.com/t/ironpython-installation-rhino-5-rhino-wip/40927):
>
> Over the last few months, we received several reports about issues with independent IronPython installations (IIPI) and Rhino. IIPI are only installations of IronPython made via MSI files, and they appear in the Control Panel like this: It is possible to install IronPython via folder decompression, and that has no impact on Rhino. I installed both [IronPython 2.7.5](https://github.com/IronLanguages/main/releases/tag/ipy-2.7.5) and [IronPython 2.7.7](https://github.com/IronLanguages/main/releases/tag/ipy-2.7.7) final from the IronPython website and checked for compatibility with running the \_EditPythonScript e…

---

<div class="post-metadata">

**Author:** ![Fabio\_S](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/fabio_s/32/52243_2.png) [@Fabio\_S](https://discourse.mcneel.com/u/Fabio_S)\
**Post date:** [April 16, 2017, 8:54am UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/8 "2017-04-16T08:54:57Z")

</div>

That is great Steve! It worked!  
I have uninstalled IronPython and re-install through folder decompression instead of using the .msi installer as suggested in the post you sent. Now EditPythonScript command is executed(and working) and Rhino is not crashing any longer!  
Thanks a million! -Fabio

---

<div class="post-metadata">

**Author:** ![esamec](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/esamec/32/661368_2.png) [@esamec](https://discourse.mcneel.com/u/esamec)\
**Post date:** [January 15, 2018, 12:52pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/9 "2018-01-15T12:52:45Z")

</div>

Hi! I have the same problem, I also uninstalled Iron Python, re-install through folder decompression, but the EditPythonScript command is still not working. Any suggestions?

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [January 15, 2018, 4:39pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/10 "2018-01-15T16:39:09Z")

</div>

Hello - it might be good to re-install Rhino, or Repair the installation from the Windows control panel.

-Pascal

---

<div class="post-metadata">

**Author:** ![stevebaer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/stevebaer/32/473567_2.png) [@stevebaer](https://discourse.mcneel.com/u/stevebaer)\
**Post date:** [January 15, 2018, 4:57pm UTC](https://discourse.mcneel.com/t/editpythonsript-command-forces-rhino-to-crash/43159/11 "2018-01-15T16:57:40Z")

</div>

> [@esamec](#):
>
> I also uninstalled Iron Python, re-install through folder decompression,

Does EditPythonScript crash after you uninstall IronPython and BEFORE re-installing through folder decompression?
