Search IconIcon to open search

Cross-platform conda env yml

Last updated Sep 8, 2019

I use Linux, OSX and Windows on a daily basis, changing between OSes depending on the task at hand. Some tools are more convenient in an OS than others but sometimes I just have to move from my MBP to my desktop (Linux/Windows), this time around the task is plotting. After some time struggling with the SigmaPlot’s GUI, I decided to stick with what I know and use Matplotlib.

I use Anaconda for environment management as it is versatile and simple to use, when you’re only on one OS that is. Sharing its YAML config file between OSes can be a hassle, since some OS will have a certain dependency which another OS will not. Searching around I found conda-devenv


I’ll keep it short and just make note of the workflow I did to generate a YAML that I could use in OSX and Windows:

  - appnope=0.1.0 # [osx]
  - ipython-7.8.0
  - ...

At this point the environment will be usable on your machine.
Note: I manually went into the “original” YAML file and added OS specifics, if I find a better way, I’ll document it here