kivy is not recognized as an internal or external command

205 views
Skip to first unread message

iiT Inventando e Improvisando com Tecnologia

unread,
Mar 5, 2019, 11:04:13 AM3/5/19
to Kivy users support
Good afternoon. My name is Everton.

After installing Kivy and creating the main.py file that will display the message 'Hello World, Kivy!', I type in CMD.exe's pronounced 'kivy main.py' but the command is not recognized. The following message appears at the prompt:

'kivy is not recognized as an internal or external command, an operable program or a batch file.

How to solve this? Thank you.

https://pythonacademy.com.br/sliders/como-instalar-o-kivy#/12

Pergunta.jpg

Asim Abbas

unread,
Mar 5, 2019, 11:06:13 AM3/5/19
to kivy-...@googlegroups.com
can you please share your code.

run with python main.py rather than kivy main.py

Best Regards  / Mit freundlichen Grüßen / Viele Grüße 


Asim Abbas



From: kivy-...@googlegroups.com <kivy-...@googlegroups.com> on behalf of iiT Inventando e Improvisando com Tecnologia <devert...@hotmail.com>
Sent: Tuesday, March 5, 2019 9:04 PM
To: Kivy users support
Subject: [kivy-users] kivy is not recognized as an internal or external command
 
--
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+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/33295f0a-6fde-4f5d-8db3-651c698188bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

iiT Inventando e Improvisando com Tecnologia

unread,
Mar 5, 2019, 1:57:22 PM3/5/19
to Kivy users support
import kivy
from kivy.app import App
from kivy.uix.label import Label

kivy.require('1.9.1')

class PrimeiroApp(App):
    def build(self):
        return Label(text='Hello World, Kivy!')

if __name__ == '__main__':
    PrimeiroApp().run()

Em terça-feira, 5 de março de 2019 13:06:13 UTC-3, Asim Abbas escreveu:
você pode compartilhar seu código?

executar com python main.py em vez de kivy main.py

Atenciosamente   / Atenciosamente / Saudações 


Asim Abbas



De: kivy -... @ googlegroups.com < kivy -... @ googlegroups.com > em nome da iiT Inventando e Improvisando com Tecnologia < devert ... @ hotmail.com >
Enviada: terça - feira, 5 de março de 2019 9 : 04:00
Para: Usuários do Kivy suportam
Assunto: [kivy-users] kivy não é reconhecido como um comando interno ou externo
 
Boa tarde. Meu nome é Everton.

Depois de instalar o Kivy e criar o arquivo main.py que exibirá a mensagem 'Hello World, Kivy!', Eu digito o pronunciado ' kivy main.py ' do CMD.exe , mas o comando não é reconhecido. A seguinte mensagem aparece no prompt:

'kivy não é reconhecido como um comando interno ou externo, um programa operacional ou um arquivo de lote.

Como resolver isso? Obrigado.

https://pythonacademy.com.br/sliders/como-instalar-o-kivy#/12

-
Você recebeu esta mensagem porque está inscrito no grupo "Suporte aos usuários do Kivy" dos Grupos do Google.
Para cancelar a inscrição deste grupo e deixar de receber emails, envie um email para kivy-users + ... @ googlegroups.com .
Para enviar mensagens para este grupo, envie um e-mail para kivy ... @ googlegroups.com .
Visite este grupo em https://groups.google.com/ group / kivy-users .
Para ver esta discussão na Web, visite https://groups.google.com/d/ msgid / kivy-users / 33295f0a-6fde-4f5d-8db3-651c698188bb% 40googlegroups.com .
Para obter mais opções, visite https://groups.google.com/d/ optout .

ZenCODE

unread,
Mar 5, 2019, 3:12:00 PM3/5/19
to Kivy users support
It's normally launched by entering "python main.py", not "kivy main.py". Kivy in usually just installed into a Python installation....

iiT Inventando e Improvisando com Tecnologia

unread,
Mar 5, 2019, 10:45:09 PM3/5/19
to Kivy users support

Obrigado, funcionou.

Em terça-feira, 5 de março de 2019 17:12:00 UTC-3, ZenCODE escreveu:
É normalmente iniciado inserindo "python main.py", não "kivy main.py". Kivy geralmente instalado em uma instalação do Python ....
Reply all
Reply to author
Forward
0 new messages