Community
    • Login

    no output when using kivy in python in notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 2 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sean LaceyS
      Sean Lacey
      last edited by

      I know I installed python correctly, i put it in the path and everything, its been a while since i installed notepad. to install kivy i went into the windows command prompt and typed “python -m pip install kivy”. i know this worked because i can fully use kivy using the idle interface. just not in the Notepad++ interface.

      Eko palypseE 1 Reply Last reply Reply Quote 1
      • Eko palypseE
        Eko palypse @Sean Lacey
        last edited by Eko palypse

        @Sean-Lacey

        sorry but you did not answer my question how you start your program.
        Using run menu and if how? Using NppExec, if so what did you specify to run the program?

        1 Reply Last reply Reply Quote 1
        • Sean LaceyS
          Sean Lacey
          last edited by

          sorry, yes it was nppexec

          Eko palypseE 1 Reply Last reply Reply Quote 0
          • Eko palypseE
            Eko palypse @Sean Lacey
            last edited by

            @Sean-Lacey

            if so what did you specify to run the program?

            1 Reply Last reply Reply Quote 0
            • Sean LaceyS
              Sean Lacey
              last edited by

              im not sure what you mean what did i specify (sorry, pressed submit before i was done and had to wait a minute)

              1 Reply Last reply Reply Quote 0
              • Eko palypseE
                Eko palypse
                last edited by

                you need to specify which python interpreter you want to use, with which parameters to execute the program

                1 Reply Last reply Reply Quote 0
                • Sean LaceyS
                  Sean Lacey
                  last edited by

                  im using python 3.7.1. its been a while since i set notepad up, where would i find the parameters

                  Eko palypseE 1 Reply Last reply Reply Quote 0
                  • Eko palypseE
                    Eko palypse @Sean Lacey
                    last edited by

                    @Sean-Lacey

                    you will see it if you press F6 - as long as you have not reassigned the standard NppExec shortcut

                    1 Reply Last reply Reply Quote 0
                    • Sean LaceyS
                      Sean Lacey
                      last edited by

                      i have not reassigned anything except F7 is now set to run python
                      this is what im getting "C:\Users\(MYNAME)\AppData\Local\Programs\Python\Python37-32\python.exe “$(FILE_NAME)”

                      Eko palypseE 1 Reply Last reply Reply Quote 0
                      • Eko palypseE
                        Eko palypse @Sean Lacey
                        last edited by

                        @Sean-Lacey

                        this doesn’t work for gui frameworks like kivy.
                        Use something like

                        cmd /C cd $(CURRENT_DIRECTORY) && "C:\Users\(MYNAME)\AppData\Local\Programs\Python\Python37-32\python.exe" -t -B -u "$(FILE_NAME)"

                        1 Reply Last reply Reply Quote 2
                        • Sean LaceyS
                          Sean Lacey
                          last edited by

                          just confirming, am i supposed to copy what you sent me and replace what i sent you for it

                          Eko palypseE 1 Reply Last reply Reply Quote 0
                          • Eko palypseE
                            Eko palypse @Sean Lacey
                            last edited by

                            @Sean-Lacey

                            normally yes, as long as you sent me the whole configured call setup.

                            1 Reply Last reply Reply Quote 0
                            • Sean LaceyS
                              Sean Lacey
                              last edited by

                              i did, i check it now

                              1 Reply Last reply Reply Quote 0
                              • Sean LaceyS
                                Sean Lacey
                                last edited by

                                it worked thank you so much

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors