# How can I switch the python version from 3.6.7 to 2.7.13?

**URL:** <https://discourse.slicer.org/t/how-can-i-switch-the-python-version-from-3-6-7-to-2-7-13/6925>\
**Category:** Development\
**Created:** [May 25, 2019, 7:59am UTC](https://discourse.slicer.org/t/how-can-i-switch-the-python-version-from-3-6-7-to-2-7-13/6925 "2019-05-25T07:59:32Z")\
**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:** [May 25, 2019, 12:04pm UTC](https://discourse.slicer.org/t/how-can-i-switch-the-python-version-from-3-6-7-to-2-7-13/6925/2 "2019-05-25T12:04:13Z")

</div>

Recent preview versions of Slicer switched to Python3 and we will not ever go back to Python2. You need to make minor changes to your Python2 modules to make them compatible with Python3 as described in this topic:

> [@Updating slicer to work with python 3](https://discourse.slicer.org/t/updating-slicer-to-work-with-python-3/4662/17):
>
> hey @jcfr, thanks for all your replies…i was having the similar sort of question and your solutions worked for me. best regards!!

---

_[View the full topic](https://discourse.slicer.org/t/how-can-i-switch-the-python-version-from-3-6-7-to-2-7-13/6925)._
