Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.3.1
-
None
-
Windows 11
conda create -n myenv -y python=3.8
conda activate myenv
pip install -r requirements.txt
Below packages are installed
PyAutoGUI==0.9.53
PyGetWindow==0.0.9
PyMsgBox==1.0.9
pynput==1.7.6
pyparsing==3.0.9
pyperclip==1.8.2
pypiwin32==223
PyQt6==6.3.1
PyQt6-Qt6==6.3.2
PyQt6-sip==13.4.0
PyRect==0.2.0
PyScreeze==0.1.28
pystray==0.19.4
pytesseract==0.3.10
python-dateutil==2.8.2
pyttsx3==2.71
pytweening==1.0.4
pywin32==304
Windows 11 conda create -n myenv -y python=3.8 conda activate myenv pip install -r requirements.txt Below packages are installed PyAutoGUI==0.9.53 PyGetWindow==0.0.9 PyMsgBox==1.0.9 pynput==1.7.6 pyparsing==3.0.9 pyperclip==1.8.2 pypiwin32==223 PyQt6==6.3.1 PyQt6-Qt6==6.3.2 PyQt6-sip==13.4.0 PyRect==0.2.0 PyScreeze==0.1.28 pystray==0.19.4 pytesseract==0.3.10 python-dateutil==2.8.2 pyttsx3==2.71 pytweening==1.0.4 pywin32==304
Description
My code is:
from PyQt6.QtWidgets import QApplication
app = QApplication(sys.argv) # error occurs
Error message:
qt.qpa.windows: setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x5 (Access is denied.)
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2105 [Windows] setProcessDpiAwarenessContext failed after importing pyautogui
- Closed
- relates to
-
QTBUG-103733 [Windows] setProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed on certain machines
- Closed