简体   繁体   中英

Installing kivy with pip

I get this error when trying to install kivy.

kivy-1.8.9-cp34-none-win_amd64.whl is not supported wheel on this platform.

I run Python 3.4 and have installed these modules:

Pip 6.0.8
Pygame 1.9.2a0
Setuptools 14.3.1

Which is all the latest, so i have no idea what the problem is. I am so excited to create application, with kivy! Annoy me so much that i just can't install it.

I have been following this Tutorial by Sentdex, if anyone is familiar with it.

OS: Windows 8.1 Pro, 64bit

How to install Kivy on windows 10

  1. Download wheels from here (you have to download both pygame and kivy , if you are running 32 bit python3.5 then download Kivy-1.9.1+sdl2-cp35-none-win32.whl and pygame-1.9.2a0-cp35-none-win32.whl or choose the appropriate one for your needs.)
  2. Place installed wheels into same folder.
  3. Run (Windows) CMD as administrator and go into created folder by using cmd (where you placed your wheels)
  4. pip install by copy/paste name of the wheel and push the enter button. For example: pip install pygame-1.9.2a0-cp35-none-win32.whl and pip install Kivy-1.9.1+sdl2-cp35-none-win32.whl
  5. Now you can use Kivy

Good Luck!!

I just wanted to add that I had a similar problem and found that the file name of the wheel is of dire importance. I had downloaded a duplicate copy of the wheel and Windows had auto-renamed it with the suffix "(2)". Using the original file name without this suffix did the trick. Hope that helps someone in the future.

Try to change the python location and the python lib on the path in environment variable.

ex: path:

C:python/python3.4;
C:python/python3.4/lib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM