3

I'm on Windows 10. I was following the instructions on https://kivy.org/doc/stable/installation/installation-windows.html# and I reached the part where it says:

Install Kivy:

python -m pip install kivy==1.11.1

After I type it in cmd, it gives me an error. I'll put the error as a comment.

Compo
  • 36,585
  • 5
  • 27
  • 39
khalrab27
  • 73
  • 2
  • 7
  • Don't put the error as an answer. [Edit] it into your question as formatted text. – MattDMo Oct 10 '20 at 19:54
  • I tried and it said that I entered more than 30,000 characters – khalrab27 Oct 10 '20 at 19:55
  • Look at the error and try to find the "Traceback" part at the end, then put that in your question. – MattDMo Oct 10 '20 at 19:56
  • At any rate, I'm fairly certain what the error is. Go to Christoph Gohlke's [Python Extension Packages for Windows](https://www.lfd.uci.edu/~gohlke/pythonlibs/#kivy) repository and download the `.whl` file for your Python installation - 32 or 64 bit. Install it using `python -m pip install name-of-whl-file.whl` and you should be okay. If you get errors for other packages, try to find them on the same page. – MattDMo Oct 10 '20 at 20:00
  • 1
    We don't have 3.9 wheels for Kivy 1.11.1. Installing `kivy==2.0.0.rc3` _might_ work, but not sure if we've released 3.9 wheels for that either yet, we were waiting on some dependencies. – inclement Oct 10 '20 at 20:38
  • Try `pip install pipwin`, and then `pipwin install kivy==1.11.1` – KetZoomer Oct 10 '20 at 21:17
  • @KetZoomer Thanks! It worked! I really appreciate your help! Thank you so much! I've been trying to to `pip install kivy` for so long! I never knew about `pipwin` – khalrab27 Oct 11 '20 at 00:10
  • You can follow this video [Usando KivyMD com Python 3.9, Kivy 2.0.0 e a IDE VSCode](https://stackoverflow.com/questions/64297628/im-trying-to-install-kivy-with-python-3-9-0-and-it-gives-me-an-error-after-i-ty) steps, works to me! Regards. – Victor Manhani Oct 18 '20 at 05:20
  • tooo soon to switch to python 3.9, stay a while on python 3.8. Dependencies have to migrate and become stable before a Kivy wheel is released officially – pouya Oct 30 '20 at 06:32

2 Answers2

1

Try pip install pipwin and then pipwin install kivy==1.11.1

Credits to @KetZoomer

Dharman
  • 30,962
  • 25
  • 85
  • 135
khalrab27
  • 73
  • 2
  • 7
0

try to install thanks to pip, type in a terminal:

pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

Dadep
  • 2,796
  • 5
  • 27
  • 40
Koton Bads
  • 19
  • 2
  • 1
    Thank you for this code snippet, which might provide some limited, immediate help. A [proper explanation](https://meta.stackexchange.com/q/114762/349538) would greatly improve its long-term value by showing why this is a good solution to the problem and would make it more useful to future readers with other, similar questions. Please [edit] your answer to add some explanation, including the assumptions you've made. – wscourge Dec 01 '20 at 07:02
  • Welcome to Stack Overflow! Please take the [tour](https://stackoverflow.com/tour). – Jeanne Dark Dec 01 '20 at 07:51