Yep - can you now try to add to the end of that sequence:
Code: Select all
vendor_path = os.path.join(FreeCAD.getUserAppDataDir(), "AdditionalPythonPackages")
call_args = [python_exe, "-m", "pip", "--disable-pip-version-check", "list", "-o", "--path", vendor_path]
proc = subprocess.run(
call_args,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
check=True,
timeout=30,
)
print(proc.stdout.decode())