diff -r 175ec2fe27ca -r 92810aebc909 src/eric7/Plugins/PluginEricdoc.py --- a/src/eric7/Plugins/PluginEricdoc.py Tue Oct 18 17:02:51 2022 +0200 +++ b/src/eric7/Plugins/PluginEricdoc.py Tue Oct 18 17:48:03 2022 +0200 @@ -8,7 +8,6 @@ """ import os -import sys from PyQt6.QtCore import QObject, QCoreApplication from PyQt6.QtWidgets import QDialog @@ -56,7 +55,7 @@ if Utilities.isWindowsPlatform(): for exepath in ( getConfig("bindir"), - os.path.join(sys.exec_prefix, "Scripts"), + Utilities.getPythonScriptsDirectory(), ): found = False for ext in (".exe", ".cmd", ".bat"): @@ -70,7 +69,7 @@ else: for exepath in ( getConfig("bindir"), - os.path.join(sys.exec_prefix, "bin"), + Utilities.getPythonScriptsDirectory(), ): exe_ = os.path.join(exepath, exe) if os.path.exists(exe_):