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. PySide6: 'Qt plugin directory '/plugins' does not exist!
Forum Updated to NodeBB v4.3 + New Features

PySide6: 'Qt plugin directory '/plugins' does not exist!

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 1.1k 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.
  • A Offline
    A Offline
    apascua
    wrote on last edited by
    #1

    I have been trying to figure out what to do here for a bit now. At first I thought it was PyInstaller, but I think it has to do with my installation of PySide6. I am running on Windows 10 on Python 3.9.13 on pip 23.0.1. I have tried uninstalling and reinstalling PySide6, PySide2, and PyQt5 and all of them return the same error. I have also ran the following code:

    import PySide6
    from PySide6 import QtCore
    
    app = QtCore.QCoreApplication([])
    info = QtCore.QLibraryInfo()
    print("Package paths:", PySide6.__path__)
    print("Prefix path:", info.path(QtCore.QLibraryInfo.PrefixPath))
    print("Binaries path:", info.path(QtCore.QLibraryInfo.BinariesPath))
    print("Library executables path:", info.path(QtCore.QLibraryInfo.LibraryExecutablesPath))
    print("Plugins path:", info.path(QtCore.QLibraryInfo.PluginsPath))
    print("")
    
    # Check if PySide installed embedded qt.conf at run-time
    embedded_qt_conf = QtCore.QFile(":/qt/etc/qt.conf")
    if embedded_qt_conf.open(QtCore.QIODevice.ReadOnly):
        data = embedded_qt_conf.readAll()
        print("Embedded qt.conf data:", data)
    else:
        print("No embedded qt.conf available!")
    

    Output:

    Package paths: ['c...\\venv\\lib\\site-packages\\PySide6']
    Prefix path:
    Binaries path: /bin
    Library executables path:
    Plugins path: /plugins
    
    Embedded qt.conf data: b'[Paths]\nPrefix = .../venv/lib/site-packages/PySide6/.\nLibraryExecutables = .../venv/lib/site-packages/PySide6/.\n'
    

    As you can see, my prefix path is not showing up, but it is very much there. I tried to see if I can set the prefix path manually, but I was unable to find anything.

    1 Reply Last reply
    0

    • Login

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