Problems installing kivy windows 10, python 33, 34, 35.

314 views
Skip to first unread message

Bob Gailer

unread,
Mar 24, 2017, 10:25:19 PM3/24/17
to Kivy users support
I have spent many hours trying to install kivy on windows 10. The only python version that I have had success with is 27.

Here are my attempts, how far I got, and where I am stuck. Help please.

C:\Python35>python -m pip install --upgrade kivy leads to errors involving glew files! I did some research, tried to install glew from windows binaries. instructions have me lost.; the hole just gets deeper.

C:\Python34>python n:/kivy/main.py:
 Traceback (most recent call last):
   File "n:/kivy/main.py", line 1, in <module>
     from kivy.app import App
   File "C:\Python34\lib\site-packages\kivy\app.py", line 327, in <module>
     from kivy.uix.widget import Widget
   File "C:\Python34\lib\site-packages\kivy\uix\widget.py", line 219, in <module>
     from kivy.graphics import (
   File "C:\Python34\lib\site-packages\kivy\graphics\__init__.py", line 89, in <module>
     from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
 ImportError: DLL load failed: The specified module could not be found.

C:\Python33>python -m pip install --upgrade kivy
    Cython is missing, its required for compiling kivy !

C:\Python33>python -m pip install --upgrade Cython
    error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279

so I downloaded & ran winsdk_web.exe which tells me to install .NET Framework 4 from http://go.microsoft.com/fwlink/?LinkID=187668. This leads to a page of choices (I do not know which to choose)
Visual Studio

Visual Studio includes everything you need to create applications that use the .NET Framework.
Download Visual Studio 2017

.NET Framework only
If you want to download the .NET Framework only you can select it from the list below:
.NET Framework 4.6.2
.NET Framework 4.6.1
etc etc

I chose Download Visual Studio 2017 (vs_community__971130829.1490038994.exe). That gives another choice-without-guidance: Community. Enterprise or Professional. Community seems to be the correct one. However, after installing I get the same error. Dead end!

Please help.

Alexander Taylor

unread,
Mar 25, 2017, 10:38:26 AM3/25/17
to Kivy users support
Did you try following the instructions at https://kivy.org/docs/installation/installation-windows.html#install-win-dist ? These use our precompiled wheels (kivy.deps.sdl2 etc.), so you shouldn't need to compile anything.

Alexander Taylor

unread,
Mar 25, 2017, 10:40:38 AM3/25/17
to Kivy users support
Actually, for Python 3.4+ you might need to use the nightly wheels, see https://kivy.org/docs/installation/installation-windows.html#nightly-wheel-installation , due to changes in how we needed to compile them since the last Kivy release. These should be acceptably stable at the moment, as we're working towards a new release.

Bob Gailer

unread,
Mar 25, 2017, 5:02:45 PM3/25/17
to Kivy users support
Yes - I used the instructions at https://kivy.org/docs/installation/installation-windows.html#install-win-dist The responses I posted all came from those instructions. What do I do now?

Regarding python34:
 "Install it with python -m pip install wheel-name where wheel-name is the name of the renamed file and add deps to the PATH"
What does "renamed file" refer to?
What does "add deps to the PATH" mean?

Matthew Einhorn

unread,
Mar 26, 2017, 4:50:16 PM3/26/17
to kivy-...@googlegroups.com
For 34 you should be able to just use pip if you follow the normal and not nightly instructions.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Juergen Barlag

unread,
Mar 26, 2017, 5:33:10 PM3/26/17
to Kivy users support


I had the same problem. Using Python 360. The tip with the nightly wheel from Alexander Taylor worked like a charm. Could someone update the INSTALL website?

Matthew Einhorn

unread,
Mar 27, 2017, 12:00:30 AM3/27/17
to kivy-...@googlegroups.com
Ideally we would release soon so the website would reflect the actual state, once we release. I was hoping this would have happened already, but I guess it doesn't seem to be happening so maybe we'll update the website soon.

On Sun, Mar 26, 2017 at 5:33 PM, 'Juergen Barlag' via Kivy users support <kivy-...@googlegroups.com> wrote:


I had the same problem. Using Python 360. The tip with the nightly wheel from Alexander Taylor worked like a charm. Could someone update the INSTALL website?

--
Reply all
Reply to author
Forward
0 new messages