I've installed Kivy and all the need files as far as I know, but I'm still getting this error message and I don't know why.
from kivy.app import App
from kivy.uix.gridlayout import GridLayout
class Container(GridLayout):
pass
class MainApp(App):
def build(self):
self.title = 'Awesome app!!!'
return Container()
if __name__ == "__main__":
app = MainApp()
app.run()
This is the error message I get:
Traceback (most recent call last):
File "C:\Users\Yassi\OneDrive\Afbeeldingen\Bureaublad\main.py", line 1, in <module>
from kivy.app import App
ImportError: No module named 'kivy'
I installed Kivy through anaconda, so the files for kivy might be installed in a wrong directory. Either way, I don't know how to fix this problem.
I'm running this program on a Windows 10 OS and I use python-3
Edit: It might have something to do with how I refer to the python interpreter. I can't find the location of the python interpreter though so now I'm stuck.
Edit2: This is the place where I installed python: C:\Program Files\IBM\SPSS\Statistics\25\Python3. Any way how I can refer to this? I think this is where the problem lies.