Default python on Google's Colab as of now is Py 3.6.7. I want to run on Py 3.5.3. Is it possible? If so, how?
Asked
Active
Viewed 3.0k times
7
-
1Can you say more about your motivation for using Python 3.5.3? (There might be another way to solve the problem that doesn't involve a Python downgrade.) – Bob Smith Jan 02 '19 at 17:39
-
I have a microcontroller wherein we have built Py3.5.3 and multiple modules that are being developed on it. So I'm using CoLab for prototyping. – Anand Jan 15 '19 at 22:32
-
I "need" to use an older version of Python because I want to run an old project cloned from Github. I am getting a syntax error on: `print 'Found %d videos with %d captions' % (len(data.keys()), len(data.values()))`, I think it is because the current version of Google's Colab is `3.6.9`, and that needs to use parentheses for `print`. If I can't use a previous version of python, how can I solve this problem? – EmmanuelB Apr 09 '20 at 23:27
1 Answers
1
Connect Colaboratory to a local runtime. This allows you to run any version of Python on your local hardware.
![](../../users/profiles/10059738.webp)
pirateofebay
- 198
- 3
- 11
-
20Isn't that a conflict with the spirit of using Google Colab in the first place? To not run the code in our local machine. – EmmanuelB Apr 09 '20 at 23:29
-
What are the advantages of connecting with local run-time apart from being able to choose a specific version of python? I think one is run-time will not get terminated. Am I correct? Will we be still able to use GPU? – Dr Nisha Arora Oct 03 '20 at 06:51