beelabhmc / ant_tracker

Track ant movement in a lab setting using ML
http://hmcbee.blogspot.com/
1 stars 1 forks source link

automatic dependency installation #6

Open aryarm opened 6 years ago

aryarm commented 6 years ago

this can be done using conda

unfortunately, you might have some trouble with matlab_engine, since it isn't available on anaconda for all versions of matlab (source) maybe we shouldn't list it as a conda dependency

JarredAllen commented 5 years ago

I'm putting this on the back-burner because:

  1. The README lists all the dependencies, so installing them isn't that hard.
  2. No one solution will work for everything because installing the languages has to be done separately from installing the python packages, which has to be separate from ffmpeg.
  3. We probably won't need to port this to a different computer soon, possibly ever, so this feature may never even be used.
aryarm commented 5 years ago

@JarredAllen,

Actually, I sort of resolved this issue already in a0b43dcc7d347b75defe62d8aaa21393c032601d. When the requirements.yaml file existed, one could theoretically just do

conda env create -f requirements.yaml

to install all of the necessary dependencies (source).

I mostly made this issue because we had been discussing running the pipeline on a server cluster (with snakemake) and the person who wrote the original code for this repository told me that installing the dependencies manually had been really difficult.

I kept the issue open despite having completed the requirements.yaml file because I hadn't tested it and I wasn't sure if there was a way to install the matlab engine properly with conda.

But if y'all won't ever be porting the code over to a different computer, I agree that it's probably not useful to keep this issue open.