Stand-alone Metashape Python module allows to integrate Metashape functionality to the custom scripts without a need of full application installation.


At first, ensure that you have Python 3.5, 3.6 or 3.7 installed on your system. After that download the .whl package from the following page:

https://www.agisoft.com/downloads/installer/


Then install Metashape module as regular wheel package. The procedure may be slightly different depending on the OS used:


On Windows (64-bit):

python3.exe -m pip install Metashape-1.6.3-cp35.cp36.cp37-none-win_amd64.whl


On Linux:

python3 -m pip install Metashape-1.6.3-cp35.cp36.cp37-abi3-linux_x86_64.whl


On Mac OS X:

python3 -m pip install Metashape-1.6.3-cp35.cp36.cp37-abi3-macosx_10_8_x86_64.whl



After installing stand-alone module, make sure that Metashape Pro application is activated on the same computer, where the module is supposed to be used. Alternatively, use the following command in Python IDLE console for the product activation, using your license key as an argument):

Metashape.License().activate("AAAAA-BBBBB-CCCCC-DDDDD-EEEEE") 


The license file (.lic) should be put to the module directory, alternatively the path to the license file can be defined by setting up agisoft_LICENSE environment variable.