seanwu1105 / vscode-qt-for-python

Qt for Python (PySide and PyQt) extension for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=seanwu.vscode-qt-for-python
MIT License
177 stars 15 forks source link

PySide6 Bug / Error #321

Open j70141 opened 6 months ago

j70141 commented 6 months ago

I had recently installed PySide6 on my machine when it started giving me error. So I uninstalled PySide6, and still got some errors.

I tried uninstalling the Qt for Python extension and reinstalling (after restart) and still got the errors.

I went into the extensions of VS Code and deleted the Qt for Python manually, then reinstalled, and I still got the errors.

Here is the Traceback: Traceback (most recent call last): File "c:\Users\steves.vscode\extensions\seanwu.vscode-qt-for-python-7.6.0\python\scripts\rcc.py", line 17, in from PySide6.scripts.pyside_tool import rcc ModuleNotFoundError: No module named 'PySide6.scripts.pyside_tool'

Command failed: C:\Python312\python.exe c:\Users\steves.vscode\extensions\seanwu.vscode-qt-for-python-7.6.0\python\scripts\rcc.py -o c:\Users\steves\Documents\Code\Python_samples\quickpdfviewer\viewer_rc.py c:\Users\steves\Documents\Code\Python_samples\quickpdfviewer\viewer.qrc Traceback (most recent call last): File "c:\Users\steves.vscode\extensions\seanwu.vscode-qt-for-python-7.6.0\python\scripts\rcc.py", line 17, in from PySide6.scripts.pyside_tool import rcc ModuleNotFoundError: No module named 'PySide6.scripts.pyside_tool'

kinesis19 commented 1 month ago

Hello, I have the same Error too T.T

coderedart commented 1 month ago

anyone know a workaround for this?