Python Forum

Full Version: Installed but doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(Jan-29-2018, 06:34 PM)metulburr Wrote: [ -> ]
(Jan-29-2018, 04:18 PM)buran Wrote: [ -> ]this error clearly show that python cannot find the main.py file. It's either problem with kivy-examples installation for different interpreter than the one you think, or you supply wrong path when try to run it.
reinstalling is not going to fix this. The solution was given to you by buran. You are either using hte wrong interpreter, or your path is pointing to the wrong file. Thats all we can conclude from just an error.
https://python-forum.io/misc.php?action=help&hid=19

regarding the path i am pretty sure that it is correct as i reinstalled python,kivy and tracked the exact path and wrote it on the cmd as [python]python C:\....[\python]. What do you mean by wrong interpreter ?

Thank you,
I think i have solved the problem by reinstalling everything on 64 bit but now there is an error which says
Quote:unable to get a window, abort
when i run my application any help ??

thanks,
please post your code in code tags as well as full traceback in error tags
import kivy
kivy.require('1.0.6') # replace with your current kivy version !

from kivy.app import App
from kivy.uix.label import Label


class MyApp(App):

    def build(self):
        return Label(text='Hello world')


if __name__ == '__main__':
    MyApp().run()
error :
[Image: 56978152f88e39614a21b6a6ff86950ee3569bcc...97f81d.jpg]
Pages: 1 2