Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt missing ?

Qt missing ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 1.3k Views
  • 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.
  • P Offline
    P Offline
    Partyauzaitazunix
    wrote on last edited by Partyauzaitazunix
    #1

    Hello ! I have some python homework to do on pyzo, which is using the python shell. And i've come to the point where i need to graph a fuction, so i use ' matplotlib.pyplot.show ' but pyzo go nuts and crashes, displaying " This application failed to start because it could not find or load the Qt platform plugin "windows"
    in "C:\Program Files (x86)\pyzo".

    Reinstalling the application may fix this problem."
    I've already tried to search on google how to solve this issue, and it may have to do with the environement variables or something, i have no clue. I very much hope someone can help me because i need that graph >:(

    JonBJ 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      It just sounds like pyzo installer didnt include any Qt dlls.
      Normally the program folder should have a certain structure with the needed dlls
      like shown here
      http://www.tripleboot.org/?p=138

      Also, do it comes with Qt bindings as default ?

      1 Reply Last reply
      2
      • P Offline
        P Offline
        Partyauzaitazunix
        wrote on last edited by
        #3

        Well, i've search the folders a bit and there is a Qt folder, i've posted what it contains. But about default Qt bindings, i'm not sure of what you are talking about, but i didn't change anything during the installation sooo. 1_1541058939817_Capture2.PNG 0_1541058939817_Capture.PNG

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          It does look like Qt was included.
          By bindings i mean python code that allows pyzo to call Qt functions in Qt dlls.
          Sadly i have no idea how pyzo work,/ what it is.
          Seems to be an editor / IDE ?

          Maybe Mr @JonB knows more about it. Im on c++.

          1 Reply Last reply
          0
          • P Partyauzaitazunix

            Hello ! I have some python homework to do on pyzo, which is using the python shell. And i've come to the point where i need to graph a fuction, so i use ' matplotlib.pyplot.show ' but pyzo go nuts and crashes, displaying " This application failed to start because it could not find or load the Qt platform plugin "windows"
            in "C:\Program Files (x86)\pyzo".

            Reinstalling the application may fix this problem."
            I've already tried to search on google how to solve this issue, and it may have to do with the environement variables or something, i have no clue. I very much hope someone can help me because i need that graph >:(

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by JonB
            #5

            @Partyauzaitazunix
            https://pyzo.org/ in itself is a Python development IDE. It is not for Qt development per se, which is what this forum is about. I don't see any evidence that you are intending to do any Qt programming?

            In which case, I can only hazard a guess that pyzo itself uses Qt to provide its IDE? And the error is to do with you not having pyzo correctly installed and it is complaining about its own missing Qt libraries? OIC: matplotlib.pyplot.show. I guess that addin(?) requires Qt for the plotting?? I think you do need to Google to find out how that is supposed to work, we'll need to know "it may have to do with the environement variables or something". I don't think anyone here will know how to do it for you, it's down to this pyzo and matplotlib.pyplot.

            1 Reply Last reply
            1
            • P Offline
              P Offline
              Partyauzaitazunix
              wrote on last edited by
              #6

              Hi, thanks for the answers. But i don't think it all as to do with pyzo, because i know it also uses anaconda3 (It required me to install it), and i've search, he doesn't have a Qt ddls folder, plus when i lunch spyder, (a program just like pyzo but my school don't like it), well he give me the old 'This application failed to start because it could not find or load the Qt platform plugin "windows"
              in "" .' Which is odd to me, now my gesses is that anaconda misses the Qt ddls.

              JonBJ 1 Reply Last reply
              0
              • P Partyauzaitazunix

                Hi, thanks for the answers. But i don't think it all as to do with pyzo, because i know it also uses anaconda3 (It required me to install it), and i've search, he doesn't have a Qt ddls folder, plus when i lunch spyder, (a program just like pyzo but my school don't like it), well he give me the old 'This application failed to start because it could not find or load the Qt platform plugin "windows"
                in "" .' Which is odd to me, now my gesses is that anaconda misses the Qt ddls.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @Partyauzaitazunix
                Yes, it appears that anaconda uses Qt. It apparently comes with PyQt4, and presumably(?) that with whatever it needs from Qt itself.

                So it sounds like your installation/environment is not set up correctly? When you wrote:

                I've already tried to search on google how to solve this issue, and it may have to do with the environement variables or something, i have no clue.

                I don't think you can afford to ignore that. If environment variables have to be set for anaconda to find Qt libraries correctly, you need to address that properly?

                1 Reply Last reply
                1
                • P Offline
                  P Offline
                  Partyauzaitazunix
                  wrote on last edited by
                  #8

                  I don't know why it work this time, but i tried once more to uninstall and reinstall, and it seems to work just fine ... Weired, but i gess you can close the subject now, thanks for all answears

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved