Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Use Active Scripting Engine with pywin32 on Windows 11 #2137

Open
daddun opened this issue Oct 5, 2023 · 0 comments
Open

Unable to Use Active Scripting Engine with pywin32 on Windows 11 #2137

daddun opened this issue Oct 5, 2023 · 0 comments

Comments

@daddun
Copy link

daddun commented Oct 5, 2023

  • Expected Behavior:

The active scripting engine should be successfully registered and accessible for use with MSScriptControl.ScriptControl.

  • Actual Behavior:
Execute \Python\Python312-32\Lib\site-packages\win32comext\axscript\client\pyscript.py.
Requesting elevation and retrying...
Registered: Python 

However, when attempting to invoke the Python script engine using MSScriptControl.ScriptControl, the following unhandled exception is thrown:

0x800a017c - ScriptControl: 
A script engine for the specified language cannot be created.
  • Versions:

Python: 3.12 32bit
pywin32: 306
pywin32 wheel: pywin32-306-cp312-cp312-win32.whl
System: Windows 11 Professional Edition, 22H2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant