Python Forum
[Kivy] Installed but doesn't work
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Kivy] Installed but doesn't work
#11
(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,
Reply
#12
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,
Reply
#13
please post your code in code tags as well as full traceback in error tags
Reply
#14
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]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] graphyview setdata() doesn't work after recieving a mount of data ugly_curry_garlic 3 710 Nov-22-2023, 05:58 PM
Last Post: Axel_Erfurt
  [Tkinter] Scrollbar doesn't work on Canvas in Tkinter DeanAseraf1 3 9,360 Sep-19-2019, 03:26 PM
Last Post: joe_momma
  [Tkinter] canvas.create_text doesn't work in a function vmarinelli 2 6,908 Jan-18-2018, 09:31 AM
Last Post: vmarinelli
  Gtk justification doesn't work rebelxt 2 4,521 Nov-05-2016, 01:52 PM
Last Post: rebelxt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020