pip packages not included in “conda env export”

前端 未结 4 495
太阳男子
太阳男子 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:11

    For me this only appeared using the conda package pip 18.1_py36_0 (didnt try any other versions). So i downgraded pip in the virtual environment to version 10 via

    conda install pip=10
    

    After this the export was listing the pip packages again.

    Also see this pull request for conda https://github.com/conda/conda/pull/7612 which fixes the issue for conda 4.6.2. It also was backported to conda 4.5.10. Currently there is no conda 4.4.x backport.

提交回复
热议问题