# Python -called from subprocess- is unable to import SimpleITK

**URL:** <https://discourse.slicer.org/t/python-called-from-subprocess-is-unable-to-import-simpleitk/4437>\
**Category:** Support\
**Tags:** python\
**Created:** [October 17, 2018, 3:01pm UTC](https://discourse.slicer.org/t/python-called-from-subprocess-is-unable-to-import-simpleitk/4437 "2018-10-17T15:01:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 17, 2018, 3:04pm UTC](https://discourse.slicer.org/t/python-called-from-subprocess-is-unable-to-import-simpleitk/4437/2 "2018-10-17T15:04:32Z")

</div>

You can use `slicer.util.startupEnvironment()` to get an unmodified system environment. See details in this post: [Subprocess call in Python interpreter results in memory corruption](https://discourse.slicer.org/t/subprocess-call-in-python-interpreter-results-in-memory-corruption/919/17)

---

_[View the full topic](https://discourse.slicer.org/t/python-called-from-subprocess-is-unable-to-import-simpleitk/4437)._
