How to install Kivy? | Sololearn: Learn to code for FREE!

+2

How to install Kivy?

I want to use python in developing android apps so I decided to begin learning kivy for that purpose but I have a problem in installing it, I have seen many videos and followed the instructions that are written in many websites but I failed in installing it, I don't know where is the problem!! can any one help me please?!

12/27/2017 11:32:53 PM

Esraa Mostfa

18 Answers

New Answer

+6

I am not an expert on Windows issues as I primarily use Linux distros. So take what I suggest beyond this point with caution. Now with that said I do have a lot of troubleshooting experience, hence all the questions. And preliminary look at your issue, I would ask if you are using a MSVC compiler. There's an ongoing issue with later versions of Python and windows https://kivy.org/docs/installation/installation-windows.html

+5

I would download it manually and see what happens then https://kivy.org/#download

+5

And lastly what's the Python version?

+5

Quote from the link I posted: "For Python < 3.5 we use the MinGW compiler. However, for Python 3.5+ on Windows we currently only support the MSVC compiler because of the following Python issue 4709 about MinGW. Generally this should make no difference when using precompiled wheels."

+4

The site said permission denied or are you still using your terminal to download it?

+4

That wasn't what I asked... where are you getting the error? On the site itself?

+4

Which Linux distro is this? and what version of Kivy are you trying to install?

+4

Oh, then I take it you are using a Python IDE?

+3

What have you tried and what errors are you encountering?

+3

Ok, I get it. I should use MSVC. I will try it.

+2

I copy in the command prompt this commands: python -m pip install --upgrade pip wheel setuptools python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew python -m pip install kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/ python -m pip install kivy after every step it give me permissionError, and tell me that access is denied.

+2

I tried the instructions on kivy.org and it gave me the same error.

+2

Python 3.6.3

+2

so should I try with older versions?

+1

permissionError, Access is denied.

+1

No, on command prompt.

+1

it isn't linux, it's Windows 7. kivy virsion is 1.10.0

+1

do you mean what I use for coding in python? I write the code on sublime and run it using command prompt.