18

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?

jdanaher
  • 207
  • 1
  • 3
  • 11
  • 1
    Best to uninstall 3.5 then start again. It is not safe to use 3.5 modules with 3.4, so you will have to reinstall any external modules you might have downloaded. – cdarke Apr 28 '16 at 20:37
  • What OS do you have? – cyberbikepunk Apr 28 '16 at 20:46
  • Using windows 10, I'm trying uninstalling everything and starting fresh with 3.4. I saved a copy of the project to a separate folder. – jdanaher Apr 28 '16 at 20:58

3 Answers3

33

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.

VectorVictor
  • 820
  • 8
  • 17
8

Uninstall Python 3.5 by going to control panel, uninstall a program, and then look for Python 3.5, click on it and press uninstall. After that download Python 3.4. I don't know any other ways but I think that should work.

0

I was able to install Python 3.4 in a separate directory and then just change the default interpreter in PyCharm to use the new directory containing 3.4 instead.

jdanaher
  • 207
  • 1
  • 3
  • 11