Wiki

This version is outdated by a newer approved version.DiffThis version (01 Sep 2020 21:20) was approved by Travis Collins.

This is an old revision of the document!


Table of Contents

Conda Packages

This is currently for developers only

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:

  • For Windows users launch Anaconda Prompt from your start menu
  • For macOS users by default conda is added to your path
  • Linux users activate conda in your shell based on how you installed it

From your open shell/command prompt run the following based on what packages you want installed.

libm2k

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'

libsmu

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
university/tools/conda.1598987649.txt.gz · Last modified: 01 Sep 2020 21:14 by Travis Collins