Or more complex where you pin dependencies and specify channels to They can be quite simple: name: basic_analysis Then you would just do conda env create -file environment.yml ![]() Probably worth noting is that conda-env (the tool that you use to manage condaĮnvironments) explicitly recommends that you "Always create your Only the dependencies that you care about. Recommendation: manually create an environment.yaml file and specify or pin Will install different packages on Win vs. High likelihood of failure since some conda packages have differentĭependencies for osx/win/linux. If you are trying to install theĮxact same version of all packages in your entire dependency tree that has a The same versions of the packages that you generally care about are onĭifferent platforms and that you don't care about the exact same versions ofĪll packages in the entire dependency tree. This answer is given with the assumption that you would like to make sure that Is there a good method to share and recreate a conda environment in one platform (e.g. Used on the same architecture, operating system and platform, such as linux. To ensure the packages work correctly,īe sure that the file was created from a working environment and that it is NOTE: Conda does not check architecture or dependencies when installingįrom an explicit specification file. On other platforms, the packages specified might notīe available or dependencies might be missing for some of the key packages This platform is the one where this specįile is known to work. Therefore have a comment at the top such as # platform: osx-64 showing the However, the docs tell us this is not cross platform: NOTE: These explicit spec files are not usually cross platform, and The conda docs at explain how to share environments with other people.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |