(This may be a duplicate of an unanswered question at How do I Install Kivy for python 3.4 on my raspberry? Is that possible? , but I'd like to add some details to this.)
I have followed the default instructions for Manual installation (On Raspbian Jessie) at https://kivy.org/docs/installation/installation-rpi.html , and Kivy runs ok with Python, only that the version of Python that Kivy works with is 2.7:
[INFO ] [Kivy ] v1.9.2.dev0, git-e831904, 20170422
[INFO ] [Python ] v2.7.9 (default, Sep 17 2016, 20:26:04)
Trying to run the code with python3.4 code.py
of course results in
Traceback (most recent call last):
File "code.py", line 5, in <module>
from kivy.app import App
ImportError: No module named 'kivy'
suggesting that Python 3.4 isn't set up with Kivy.
I would be extremely grateful for pointers to how I could either
- set up Kivy for Python 3.4 (as in other question), or
- redirect library for Python 3.4 so as to have it work with the Kivy installed in the default (2.7) Python library somehow.
(2. may be possible with PYTHONPATH ... ? Which I don't see in the default .profile file, so I'm a bit confused...)