-
Notifications
You must be signed in to change notification settings - Fork 14
Description
We currently have an automation setup where the entire Python environment, including all required libraries and scripts, is installed on a network shared drive. Due to security policies, we are not allowed to install Python directly on our local machines, so we access and run Python via this shared location.
The setup works for general Python scripts. However, when we try to use the FlaUI library, we encounter the following error:
Failed to resolve python.runtime.loader.initialize from python.runtime.dll
This issue occurs only when using FlaUI and seems related to how pythonnet loads the runtime from the shared location.
Environment:
• Python is located on a network share (not locally installed)
• Python version: 3.13
• pythonnet version: 3.05
• FlaUI: 3.6.1
• OS: Windows 10
Steps to Reproduce:
- Launch Python from the network share.
- Import and use FlaUI in a script.
- Observe the error related to python.runtime.dll.
Notes:
• Running other scripts without FlaUI works fine.
• Installing Python locally is not an option due to policy restrictions.
Request:
Could you please advise on how to resolve this error or if there’s a supported way to use pythonnet and FlaUI from a network share?
