Conda and Anaconda are cross-platform package-management tools that generally focus around python but can support any language or package generally.
To get started with the Conda packages Anaconda needs to be installed first. Please follow the official documentation from Anaconda. For Windows users, we recommend installing for individual users as global installs seem to not install shortcuts for easy access.
Once you have Anaconda installed the packages need to be built and installed. First, activate conda:
From your open shell/command prompt run the following based on what packages you want to be installed.
ADI authored packages are provided through the conda-forge channel. Therefore, all packages should be installed as:
conda install -c conda-forge <package name>
Install libm2k+python bindings:
conda install -c conda-forge libm2k
Once installed you can call libm2k from python. A quick test from a python terminal:
>> import libm2k >> ctx=libm2k.m2kOpen() >> ctx.getUri() 'usb:2.3.4'
Install libsmu+python bindings:
conda install -c conda-forge libsmu