I’ve got a few other hints for you though…įirstly, if you ‘revert’ to a previous revision then you will find that an ‘inverse’ revision is created, simply doing the opposite of what the previous revision did. So, I think that’s pretty awesome – and really handy if you screw things up and want to go back to a previously working environment. This will ask you to confirm the relevant package uninstallation/installation – and get you back to exactly where you were before! If you want to revert to a previous revision you can simply run conda install -revision N (where N is the revision number). In this output you can see a number of specific versions (or revisions) of this environment (in this case the default conda environment), along with the date/time they were created, and the differences (installed packages shown as +, uninstalled shown as - and upgrades shown as ->). If you run conda list -revisions, you’ll get an output like this: 20:20:37 (rev 10) The best way to explain is by a quick example. However, the other day I came across a wonderful feature that I’d never known about before… revisions! I now use Anaconda as my primary Python distribution – and my company have also adopted it for use on all of their developer machines as well as their servers – so I like to think I’m a relatively knowledgeable user. Robin's Blog Conda revisions: letting you ‘rollback’ to a previous version of your environment June 14, 2016
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |