Install only available packages using “conda install --yes --file requirements.txt” without error

前端 未结 4 595
庸人自扰
庸人自扰 2020-12-12 10:23

While installing packages in requirements.txt using Conda through the following command

conda install --yes --file requirements.txt

If a pack

4条回答
  •  时光说笑
    2020-12-12 10:45

    For those looking, I used this as @TillHoffmann 's solution for the fish shell:

    $ while read requirement; conda install --yes $requirement; end < requirements.txt
    

    And

    $ while read requirement; conda install --yes $requirement;or pip install $requirement; end < requirements.txt
    

提交回复
热议问题