pip packages not included in “conda env export”

前端 未结 4 497
太阳男子
太阳男子 2021-02-05 06:36

My python project runs on a conda virtual environment. I install packages on the environment with conda install whenever that package is available for installing th

4条回答
  •  深忆病人
    2021-02-05 07:22

    At the moment of writing this post, because of an issue with reading pip lists by anaconda, conda export command only exports packages installed via conda install packagename and ignores the pip ones.

    You can try reinstalling your packages via conda install and see if it generates the environment.yml file correctly.

提交回复
热议问题