Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Cannot pip install pyside6_ds?
QtWS25 Last Chance

Cannot pip install pyside6_ds?

Scheduled Pinned Locked Moved Solved Qt for Python
2 Posts 2 Posters 137 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.
  • M Offline
    M Offline
    Mlibu
    wrote on last edited by Mlibu
    #1

    Hi all, I have gotten Design Studio qml working on older versions of Design Studio but now it seems everything is changed. I used the new python export engine, but when I execute the generated main.py I get:

    file:///home/user/d/MapClient/MapClientContent/App.qml:12:5: Type Screen01 unavailable
    file:///home/user/d/MapClient/MapClientContent/Screen01.qml:4:1: Type Screen01Form unavailable
    file:///home/user/d/MapClient/MapClientContent/Screen01Form.ui.qml: Type Constants unavailable
    file:///home/user/d/MapClient/MapClient/Constants.qml:3:1: module "QtQuick.Studio.Application" is not installed
    

    I have read that installing PySide6_DS or PySide6-DS or pyside6-ds or pyside6_ds in my venv will give me this component, but it is not in pypi. This is the only place I have ever installed python modules from, so how do I get the module? I'm on python 3.13.2.

    Thank you.

    UPDATE: I realize it is in pypi but it looks like it needs Python <3.13, so working on that now. I'm in Arch/Manjaro and it isn't immediately clear how I install an older python...

    UPDATE: In the end I just needed to create a venv from Python 3.12 and I did this by installing from AUR and then I could install PySide6_DS. Also I had to import ".." in my App.qml, otherwise it couldn't find Constants.qml. Thanks.

    1 Reply Last reply
    0
    • CristianMaureiraC Offline
      CristianMaureiraC Offline
      CristianMaureira
      wrote on last edited by
      #2

      Yeah, it doesn't support 3.13 yet.
      Please make sure to report a bug in case you find anything else: https://wiki.qt.io/Qt_for_Python/Reporting_Bugs

      1 Reply Last reply
      0
      • CristianMaureiraC CristianMaureira has marked this topic as solved on

      • Login

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