Skip to content

ImportError: Could Not Import Module 'PySide6.QtWidgets' on Python 3.10 #20

@xiaobai427

Description

@xiaobai427

I am encountering an issue when trying to use the PySide6QtAds package in my Python 3.10 environment on Windows. When I attempt to import the PySide6QtAds module in my script, I receive the following error message:
ImportError: could not import module 'PySide6.QtWidgets'
This occurs despite having PySide6 installed in my environment. I have already taken the following troubleshooting steps:

Reinstalling the PySide6 and PySide6QtAds packages
Ensuring the required Qt libraries are installed and properly configured
Verifying the architectures of Python, PySide6, and PySide6QtAds (all are 64-bit)
Checking the system PATH to make sure it includes the directory where the necessary DLLs are located
Despite these efforts, the issue persists. I would greatly appreciate any assistance or insights into resolving this import failure and understanding why

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions