Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. This application failed to start because no Qt platform plugin could be initialized
Forum Updated to NodeBB v4.3 + New Features

This application failed to start because no Qt platform plugin could be initialized

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
pythonpyside2mac os 10.15.7libqcocoa.dylibqt.qpa.plugin
22 Posts 3 Posters 40.8k Views 1 Watching
  • 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.
  • A adsavi

    @jsulm from source code qt-everywhere-src-5.15.1.tar.xz

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #6

    @adsavi You mean you built Qt by yourself?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    A 1 Reply Last reply
    0
    • jsulmJ jsulm

      @adsavi You mean you built Qt by yourself?

      A Offline
      A Offline
      adsavi
      wrote on last edited by adsavi
      #7

      @jsulm the online installer gave me an error several times so finally used the offline one.

      jsulmJ 1 Reply Last reply
      0
      • A adsavi

        @jsulm the online installer gave me an error several times so finally used the offline one.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #8

        @adsavi Not sure what you mean. Did you now install Qt using offline installer and it works or does it not work?
        qt-everywhere-src-5.15.1.tar.xz is not offline installer but Qt source code archive.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • jsulmJ jsulm

          @adsavi Not sure what you mean. Did you now install Qt using offline installer and it works or does it not work?
          qt-everywhere-src-5.15.1.tar.xz is not offline installer but Qt source code archive.

          A Offline
          A Offline
          adsavi
          wrote on last edited by
          #9

          @jsulm I started from that file, unzip it, configure, chose the open source option, and then sudo make and sudo make install. When I tried it gave me the error I posted here.

          jsulmJ 1 Reply Last reply
          0
          • A adsavi

            @jsulm I started from that file, unzip it, configure, chose the open source option, and then sudo make and sudo make install. When I tried it gave me the error I posted here.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #10

            @adsavi Then you should check config.log file to see whether printing support was enabled or not

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            0
            • jsulmJ jsulm

              @adsavi Then you should check config.log file to see whether printing support was enabled or not

              A Offline
              A Offline
              adsavi
              wrote on last edited by
              #11

              @jsulm said in This application failed to start because no Qt platform plugin could be initialized:

              config.log

              the config.log text is:

              ====

              executing config test gypsy

              • cd /Users/adrianosavi/qtlocation/config.tests/gypsy && /Users/adrianosavi/qtbase/bin/qmake -spec /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang "CONFIG -= qt debug_and_release app_bundle lib_bundle" /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy
              • cd /Users/adrianosavi/qtlocation/config.tests/gypsy && MAKEFLAGS= make

              /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -fno-exceptions -Wall -Wextra -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy -I. -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang -o .obj/main.o /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy/main.cpp
              /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy/main.cpp:29:10: fatal error: 'gypsy/gypsy-satellite.h' file not found
              #include <gypsy/gypsy-satellite.h>
              ^~~~~~~~~~~~~~~~~~~~~~~~~
              1 error generated.
              make[1]: *** [.obj/main.o] Error 1
              test gypsy FAILED
              executing config test winrt

              • cd /Users/adrianosavi/qtlocation/config.tests/winrt && /Users/adrianosavi/qtbase/bin/qmake -spec /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang "CONFIG -= qt debug_and_release app_bundle lib_bundle" /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt
              • cd /Users/adrianosavi/qtlocation/config.tests/winrt && MAKEFLAGS= make

              /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -fno-exceptions -Wall -Wextra -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt -I. -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang -o .obj/main.o /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt/main.cpp
              /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt/main.cpp:30:10: fatal error: 'windows.system.h' file not found
              #include <windows.system.h>
              ^~~~~~~~~~~~~~~~~~
              1 error generated.
              make[1]: *** [.obj/main.o] Error 1
              test winrt FAILED

              ====

              It seems the configuration failed.
              But I was able to go on with the following steps.
              What do you suggest to me?

              jsulmJ 1 Reply Last reply
              0
              • A adsavi

                @jsulm said in This application failed to start because no Qt platform plugin could be initialized:

                config.log

                the config.log text is:

                ====

                executing config test gypsy

                • cd /Users/adrianosavi/qtlocation/config.tests/gypsy && /Users/adrianosavi/qtbase/bin/qmake -spec /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang "CONFIG -= qt debug_and_release app_bundle lib_bundle" /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy
                • cd /Users/adrianosavi/qtlocation/config.tests/gypsy && MAKEFLAGS= make

                /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -fno-exceptions -Wall -Wextra -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy -I. -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang -o .obj/main.o /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy/main.cpp
                /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/gypsy/main.cpp:29:10: fatal error: 'gypsy/gypsy-satellite.h' file not found
                #include <gypsy/gypsy-satellite.h>
                ^~~~~~~~~~~~~~~~~~~~~~~~~
                1 error generated.
                make[1]: *** [.obj/main.o] Error 1
                test gypsy FAILED
                executing config test winrt

                • cd /Users/adrianosavi/qtlocation/config.tests/winrt && /Users/adrianosavi/qtbase/bin/qmake -spec /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang "CONFIG -= qt debug_and_release app_bundle lib_bundle" /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt
                • cd /Users/adrianosavi/qtlocation/config.tests/winrt && MAKEFLAGS= make

                /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -fno-exceptions -Wall -Wextra -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt -I. -I/Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtbase/mkspecs/macx-clang -o .obj/main.o /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt/main.cpp
                /Users/adrianosavi/Downloads/qt-everywhere-src-5.15.1/qtlocation/config.tests/winrt/main.cpp:30:10: fatal error: 'windows.system.h' file not found
                #include <windows.system.h>
                ^~~~~~~~~~~~~~~~~~
                1 error generated.
                make[1]: *** [.obj/main.o] Error 1
                test winrt FAILED

                ====

                It seems the configuration failed.
                But I was able to go on with the following steps.
                What do you suggest to me?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #12

                @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                What do you suggest to me?

                What I already suggested: check the config.log file to see whether PRINTING support was activated or not. The failed checks are related to QtLocation module and do not have anything to do with printing...

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                A 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                  What do you suggest to me?

                  What I already suggested: check the config.log file to see whether PRINTING support was activated or not. The failed checks are related to QtLocation module and do not have anything to do with printing...

                  A Offline
                  A Offline
                  adsavi
                  wrote on last edited by
                  #13

                  @jsulm I installed QT again and now I did not have any problem with the installation and the installation log shows no problem.

                  There is not printing support issues but now the message I receive is this:

                  ===========

                  QFactoryLoader::QFactoryLoader() checking directory path "/Users/adrianosavi/opt/anaconda3/plugins/platforms" ...
                  QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib"
                  Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, metadata=
                  {
                  "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                  "MetaData": {
                  "Keys": [
                  "cocoa"
                  ]
                  },
                  "className": "QCocoaIntegrationPlugin",
                  "debug": false,
                  "version": 329991
                  }

                  Got keys from plugin meta data ("cocoa")
                  QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib"
                  Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib, metadata=
                  {
                  "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                  "MetaData": {
                  "Keys": [
                  "minimal"
                  ]
                  },
                  "className": "QMinimalIntegrationPlugin",
                  "debug": false,
                  "version": 329991
                  }

                  Got keys from plugin meta data ("minimal")
                  QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib"
                  Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib, metadata=
                  {
                  "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                  "MetaData": {
                  "Keys": [
                  "offscreen"
                  ]
                  },
                  "className": "QOffscreenIntegrationPlugin",
                  "debug": false,
                  "version": 329991
                  }

                  Got keys from plugin meta data ("offscreen")
                  QFactoryLoader::QFactoryLoader() checking directory path "/Users/adrianosavi/opt/anaconda3/bin/platforms" ...
                  Cannot load library /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib: (dlopen(/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, 133): Library not loaded: @rpath/libQt5PrintSupport.5.dylib
                  Referenced from: /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib
                  Reason: image not found)
                  QLibraryPrivate::loadPlugin failed on "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib" : "Cannot load library /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib: (dlopen(/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, 133): Library not loaded: @rpath/libQt5PrintSupport.5.dylib\n Referenced from: /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib\n Reason: image not found)"
                  qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
                  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                  Available platform plugins are: cocoa, minimal, offscreen.

                  Abort trap: 6

                  =====

                  What is the next step you suggest?

                  jsulmJ 1 Reply Last reply
                  0
                  • A adsavi

                    @jsulm I installed QT again and now I did not have any problem with the installation and the installation log shows no problem.

                    There is not printing support issues but now the message I receive is this:

                    ===========

                    QFactoryLoader::QFactoryLoader() checking directory path "/Users/adrianosavi/opt/anaconda3/plugins/platforms" ...
                    QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib"
                    Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "cocoa"
                    ]
                    },
                    "className": "QCocoaIntegrationPlugin",
                    "debug": false,
                    "version": 329991
                    }

                    Got keys from plugin meta data ("cocoa")
                    QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib"
                    Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqminimal.dylib, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "minimal"
                    ]
                    },
                    "className": "QMinimalIntegrationPlugin",
                    "debug": false,
                    "version": 329991
                    }

                    Got keys from plugin meta data ("minimal")
                    QFactoryLoader::QFactoryLoader() looking at "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib"
                    Found metadata in lib /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqoffscreen.dylib, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "offscreen"
                    ]
                    },
                    "className": "QOffscreenIntegrationPlugin",
                    "debug": false,
                    "version": 329991
                    }

                    Got keys from plugin meta data ("offscreen")
                    QFactoryLoader::QFactoryLoader() checking directory path "/Users/adrianosavi/opt/anaconda3/bin/platforms" ...
                    Cannot load library /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib: (dlopen(/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, 133): Library not loaded: @rpath/libQt5PrintSupport.5.dylib
                    Referenced from: /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib
                    Reason: image not found)
                    QLibraryPrivate::loadPlugin failed on "/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib" : "Cannot load library /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib: (dlopen(/Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib, 133): Library not loaded: @rpath/libQt5PrintSupport.5.dylib\n Referenced from: /Users/adrianosavi/opt/anaconda3/plugins/platforms/libqcocoa.dylib\n Reason: image not found)"
                    qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
                    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                    Available platform plugins are: cocoa, minimal, offscreen.

                    Abort trap: 6

                    =====

                    What is the next step you suggest?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #14

                    @adsavi It can't load libqcocoa.dylib because it seems to depend on libQt5PrintSupport.5.dylib which it can't find for some reason.
                    I don't know why this happens (not a Mac user).
                    What Qt version did you install and how?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    A 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @adsavi It can't load libqcocoa.dylib because it seems to depend on libQt5PrintSupport.5.dylib which it can't find for some reason.
                      I don't know why this happens (not a Mac user).
                      What Qt version did you install and how?

                      A Offline
                      A Offline
                      adsavi
                      wrote on last edited by
                      #15

                      @jsulm the version is Qt version 5.15.1 - Just installed today.
                      I found I have this file: /Users/adrianosavi/opt/anaconda3/lib/libQt5.archive/libQt5PrintSupport.5.9.7.dylib but I do not know fi there is any connection.

                      jsulmJ 1 Reply Last reply
                      0
                      • A adsavi

                        @jsulm the version is Qt version 5.15.1 - Just installed today.
                        I found I have this file: /Users/adrianosavi/opt/anaconda3/lib/libQt5.archive/libQt5PrintSupport.5.9.7.dylib but I do not know fi there is any connection.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #16

                        @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                        installed today

                        How? Using online installer? Does it have libQt5PrintSupport.*.dylib?
                        libQt5PrintSupport.5.9.7.dylib - this is a different version

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        A 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                          installed today

                          How? Using online installer? Does it have libQt5PrintSupport.*.dylib?
                          libQt5PrintSupport.5.9.7.dylib - this is a different version

                          A Offline
                          A Offline
                          adsavi
                          wrote on last edited by
                          #17

                          @jsulm installed with an online installer. In my computer, there are no other dylib files beginning with libQt5PrintSupport.

                          jsulmJ 1 Reply Last reply
                          0
                          • A adsavi

                            @jsulm installed with an online installer. In my computer, there are no other dylib files beginning with libQt5PrintSupport.

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #18

                            @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                            there are no other dylib files beginning with libQt5PrintSupport

                            This is strange, it should be there.
                            Maybe somebody else knows, I'm not a Mac user.

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            A 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @adsavi said in This application failed to start because no Qt platform plugin could be initialized:

                              there are no other dylib files beginning with libQt5PrintSupport

                              This is strange, it should be there.
                              Maybe somebody else knows, I'm not a Mac user.

                              A Offline
                              A Offline
                              adsavi
                              wrote on last edited by
                              #19

                              @jsulm is there any way to know to which module of Qt this library belongs so that I can use the maintenance tool to try to reinstall again?

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #20

                                Hi,

                                There's something fishy here. It looks like your have installed Qt using conda. I suspect it came with PySide2. Is that the case ?
                                Now if you used the online installer, how are you running your application ?

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                A 1 Reply Last reply
                                0
                                • SGaistS SGaist

                                  Hi,

                                  There's something fishy here. It looks like your have installed Qt using conda. I suspect it came with PySide2. Is that the case ?
                                  Now if you used the online installer, how are you running your application ?

                                  A Offline
                                  A Offline
                                  adsavi
                                  wrote on last edited by
                                  #21

                                  @SGaist yes I have installed Conda. I try uninstall it but no change. I run the application from visual studio code but if I run it from the terminal I got this message:

                                  adrianosavi@ProOne Dashboard % python test.py
                                  Traceback (most recent call last):
                                  File "test.py", line 2, in <module>
                                  from PySide2.QtWidgets import QApplication, QDialog, QLineEdit, QPushButton
                                  ImportError: No module named PySide2.QtWidgets
                                  adrianosavi@ProOne Dashboard % python test.py
                                  Traceback (most recent call last):
                                  File "test.py", line 2, in <module>
                                  from PySide2 import QtWidgets #import QApplication, QDialog, QLineEdit, QPushButton
                                  ImportError: No module named PySide2
                                  adrianosavi@ProOne Dashboard % pip install PySide2
                                  Requirement already satisfied: PySide2 in /Users/adrianosavi/opt/anaconda3/lib/python3.8/site-packages (5.15.1)
                                  Requirement already satisfied: shiboken2==5.15.1 in /Users/adrianosavi/opt/anaconda3/lib/python3.8/site-packages (from PySide2) (5.15.1)

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #22

                                    Looks like you installed all your stuff in the base conda environment which is a bad idea.

                                    I would recommend re-install conda cleanly and create a proper environment to install PySide2.

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    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