Page 1 of 1

conda environment

Posted: Fri Mar 29, 2019 10:29 am
by modenaxe
Hi everyone,
I am about to re-install the MAP client on a new machine and since it's been a while from the last time I did it, I was wondering:
  • if the version of python and the main dependencies (numpy, matplotlib) have been updated
  • if the developers or some power user could share an environment file (e.g. generated via "conda list --explicit > MAP_env.txt") so it would be immediate to create a conda environment via command line (e.g. "conda env create --file MAP_env.txt") for everyone else.
Thank you,


Re: conda environment

Posted: Fri Mar 29, 2019 11:13 pm
by brycekillen05
Hi Luca,

Good to hear you are getting back into MAP. An interesting question and suggestion as always.

From my understanding the latest version of MAP etc. do not have an updated dependency list. Over the next few weeks I want to try and run some of the standard MAP Client workflows etc in Python 3.X but as of yet I can't comment on its suitability.

I have added a MAP_env.txt file in the Document > exampleEnvironmetnFile > MAPClientEnvironmetnFile . Let me know how it goes and if anything is "missing" or doesn't work.


Re: conda environment

Posted: Tue Apr 02, 2019 10:25 am
by modenaxe
Hi Bryce,
thank you, the file seems to work nicely and the conda environment is created smoothly. The only note is that the command in my previous post was not correct. It should be:

Code: Select all

conda create --name <env> --file <the env file>
as also reported in the header of the environment file.
I haven't tried to run any specific workflow yet, but after installing OpenSim and the MAP client the application started smoothly without any package conflict, which is already a good result!
Thank you,