ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Conda environment
    카테고리 없음 2023. 2. 8. 22:48

    This posting shows an easy way to provide installation of a conda environment of your open-source project.

    Assumption: You use a conda environment for your project.

    Exporting the environment.yml file (of your conda environment)

    source: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#sharing-an-environment

    Creating an environment from an environment.yml file

    source: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file

    BETTER USE --no-builds parameter

    conda env export --no-builds > environment.yml

    -no-builds command. This command will export the environment without the build specifications, which also removes the prefix variable. It eases the installation for others. (REF)

     

    Comments