Hi everyone!
So I developed a small batch + python script that allows to drag and drop an image folder on the batch script in order to launch Metashape headlessly and process the object until the 3d export. It used to work well a few months ago. Then I put the project aside, and installed windows 11 in between. Now, I realize that launching Metashape headlessly does not cause any problem when it is done from the Visual Code console. However, when I try to use my old script as it was intended to, that is to say drag and dropping a folder on top of a batch script, I have the message "Metashape module not found'.
I don't really understand what is going on: I have installed the latest API Metashape wheel, I have checked that there agisoft_LICENSE environment variable points to the Agisoft installation folder where my license is activated (I have a pro license, also, so that should work...). But nothing works, the Windows console still considers that 'Metashape module is not found".
Can anybody help me?
Thank you
