I'm quite new to python so please excuse me if I happen to confuse some terminology or procedures.
I'm trying to write some automation code for a data analysis software I use (Agisoft Metashape). This software has a python API with an included library to use it's functions (so in the code I just use import Metashape
and when the code is executed within the software everything works).
The problem is that I try to use some external libraries for the processing such as pandas
which seems to not be accessible from Metashape, meaning when I execute my code using Metashape, I get an error saying No module named 'pandas'
.
Outside metashape I am able to use them because I write and test my code using Anaconda (which in turn does not have Metashape's libraries).
How can I "install" pandas libraries into the software itself? It seems like it has a python console...
Thanks in advance.
After a lot of time dealing with this issue, the easiest way to solve this is by installing the Metashape module by itself to the DE you're working on (say, PyCharm). Just use the instructions in this link:
Note: we had some trouble executing our code in an offline docker container, so I asked about this (and answered myself) too: