<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hello,<br></div><div>             I am currently working on a new version of the plugin AequilibraE, and experimenting with a different workflow for adding dependencies and compiled extensions.<br></div><div><br></div><div>As of now, the user is prompted to download binaries into the plugin folder (the software required on compiled extensions for performance) and keeps a few features unavailable until the user installs the extensions by starting QGIS as an administrator and triggering the install.<br></div><div><br></div><div>This is obviously cumbersome and convoluted, so we are experimenting with installing dependencies directly to the user's folder, which is where I found an issue with <b>pyarrow </b>(I've tried the 2 latest versions as of today).<br></div><div><br></div><div>As far as I was able to establish, everything works beautifully up to QGIS version 3.22, but breaks in later versions (the code to reproduce is below).<br></div><div><br></div><div>My question is: Is there something I can do about this?  Does anybody have any clues/suggestions/words of advise?<br></div><div><br></div><div>Cheers,<br></div><div>Pedro</div><div><br></div><div><br></div><div>Code to reproduce issue:</div><br><br><br><div>import sys<br></div><div><br></div><div><br></div><div>lines = []<br></div><div>command = f"{sys.executable} -m pip install --user pyarrow"<br></div><div>lines.append(command)<br></div><div>with subprocess.Popen(<br></div><div>        command,<br></div><div>        shell=True,<br></div><div>        stdout=subprocess.PIPE,<br></div><div>        stdin=subprocess.DEVNULL,<br></div><div>        stderr=subprocess.STDOUT,<br></div><div>        universal_newlines=True,<br></div><div>) as proc:<br></div><div>    lines.extend(proc.stdout.readlines())<br></div><div><br></div><div><br></div><div>import pyarrow as pa<br></div><br><div><br></div></div><br></body></html>