# Importing random module throws error in WIP

**URL:** <https://discourse.mcneel.com/t/importing-random-module-throws-error-in-wip/40971>\
**Category:** Scripting\
**Tags:** python\
**Created:** [February 2, 2017, 6:13pm UTC](https://discourse.mcneel.com/t/importing-random-module-throws-error-in-wip/40971 "2017-02-02T18:13:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [February 2, 2017, 9:26pm UTC](https://discourse.mcneel.com/t/importing-random-module-throws-error-in-wip/40971/5 "2017-02-02T21:26:16Z")

</div>

This is most likely due to you having installed IronPython. Giulio recently wrote an article about this at

> [@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…

---

_[View the full topic](https://discourse.mcneel.com/t/importing-random-module-throws-error-in-wip/40971)._
