This is an old revision of the document!
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 installed.
Clone, build and install libm2k+python bindings:
git clone https://github.com/tfcollins/staged-recipes.git cd staged-recipes git checkout libm2k conda-build -c conda-forge recipes/libm2k conda install --use-local -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'
Clone, build and install libsmu+python bindings:
git clone https://github.com/tfcollins/staged-recipes.git cd staged-recipes git checkout libsmu conda-build -c conda-forge recipes/libsmu conda install --use-local -c conda-forge libsmu