First of all, ensure that you have Python 3.5, 3.6 or 3.7 installed on your system.
Then install Metashape module as regular wheel package. The procedure may be slightly different depending on the OS used.
python3.exe -m pip install Metashape-1.5.2-cp35.cp36.cp37-none-win_amd64.whl
python3 -m pip install Metashape-1.5.2-cp35.cp36.cp37-abi3-linux_x86_64.whl
On Mac OS X:
python3 -m pip install Metashape-1.5.2-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):
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.