diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index b0f53f56c..fffe27fb3 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -136,7 +136,7 @@ def link_pyqt(executable, venv_path): """ sip_file = get_lib_path(executable, 'sip') sipconfig_file = get_lib_path(executable, 'sipconfig', required=False) - pyqt_dir = os.path.dirname(get_lib_path(executable, 'PyQt5')) + pyqt_dir = os.path.dirname(get_lib_path(executable, 'PyQt5.QtCore')) for path in [sip_file, sipconfig_file, pyqt_dir]: if path is None: