Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to downgrade to Python 3.4 from 3.5

I want to install kivy (link here) to use for a project, however, when trying to use pip to install the packages it is dependent upon, I get the following error:

Could not find a version that satisfies the requirement kivy.deps.sdl2 (from versions: )
No matching distribution found for kivy.deps.sdl2

Further reading on kivy's website revealed that these libraries do not support Python 3.5 on windows 10 because of some kind of graphical bug. The website says you need python 3.4 in order to be able to install it.

Which brings the question: How do I install python 3.4 when I already have python 3.5?

like image 498
jdanaher Avatar asked Apr 28 '16 20:04

jdanaher


People also ask

How do I downgrade Python version?

We can remove and install the required version of Python to downgrade it. First, we need to download the package from the official website and install it. Then, we need to go to the Frameworks\Python. framework\Versions directory and remove the version which is not needed.


1 Answers

If you have an Anaconda installation you can just type:

conda install python=3.4

And it installs 3.4, to re-install 3.5, it's

conda install python=3.5

It works in under a minute.

like image 144
VectorVictor Avatar answered Oct 15 '22 16:10

VectorVictor