Thanks Alexey. However, this is still not working for me:
(base) user@computer:~$ agisoft_LICENSE=/opt/metashape-pro/
(base) user@computer:~$ python
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import Metashape
No license found.
Details: No license for product (-1)
>>>