Forum

Author Topic: Metashape API on standard license  (Read 408 times)

spatialdigger

  • Newbie
  • *
  • Posts: 17
    • View Profile
Metashape API on standard license
« on: September 28, 2021, 05:14:07 PM »
Hi,

I have Metashape Pro on one machine and a Standard version on another.

On Pro I can use the api:
Code: [Select]
import Metashape
Metashape.license.valid

True

No problems.

In standard the same code returns false.

In pro I had to copy the .lic file to python's virtual environment but I cannot find a .lic in the standard version's directory
How do I get the API to recognise that the version is licenced albeit on a standard licence rather than pro?

Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13222
    • View Profile
Re: Metashape API on standard license
« Reply #1 on: September 29, 2021, 12:00:33 PM »
Hello spatialdigger,

You need to have Professional edition license activated on the computer, where stand-alone Metashape Python module should be used.

If the license has been already activated via Metashape Professional GUI on that machine, you can create agisoft_LICENSE environment variable as a path to the .lic file containing folder and reboot the system. Python module than will properly used activated license on the computer.

Standard edition license doesn't interfere with Python module (as it is not even checked by Python).
Best regards,
Alexey Pasumansky,
Agisoft LLC