# This script does not work on Python 3.5

**URL:** <https://forum.rasa.com/t/this-script-does-not-work-on-python-3-5/45158>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [June 28, 2021, 7:58pm UTC](https://forum.rasa.com/t/this-script-does-not-work-on-python-3-5/45158 "2021-06-28T19:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nezzy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nezzy/32/14686_2.png) [@nezzy](https://forum.rasa.com/u/nezzy)\
**Post date:** [June 28, 2021, 7:58pm UTC](https://forum.rasa.com/t/this-script-does-not-work-on-python-3-5/45158/1 "2021-06-28T19:58:19Z")

</div>

I’m stuck on step 2 of the Docker Compose Install Scritp. When I run: sudo bash ./install.sh , I get:

ERROR: This script does not work on Python 3.5 The minimum supported Python version is 3.6. Please use [https://bootstrap.pypa.io/pip/3.5/get-pip.py](https://bootstrap.pypa.io/pip/3.5/get-pip.py) instead.

I installed Python3.7 how ever when I run python3 --version I get the output python3.5.2

I’m running on a google cloud VM instance. Anyone can help? Please?

---

<div class="post-metadata">

**Author:** ![csmyth76](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/csmyth76/32/15271_2.png) [@csmyth76](https://forum.rasa.com/u/csmyth76)\
**Post date:** [July 8, 2021, 8:46pm UTC](https://forum.rasa.com/t/this-script-does-not-work-on-python-3-5/45158/2 "2021-07-08T20:46:20Z")

</div>

I was getting the same error on AWS.

It was coming from this line in install.sh:

`sudo python3 get-pip.py`

I installed a newer version of python and I still got the same error. The reason was that “sudo” was running the system default version of python. More on that here:

> <https://stackoverflow.com/questions/15441440/sudo-python-runs-old-python-version>

To fix it I had to move from Ubuntu 18 to 20. Ubuntu 20 default is Python 3.8.
