Specific reasons to favor pip vs. conda when installing Python packages

前端 未结 6 2000
花落未央
花落未央 2020-12-13 20:15

I use miniconda as my default python installation. What is the current (2019) wisdom regarding when to install something with conda vs. pip?

My usual behavior is to

6条回答
  •  情歌与酒
    2020-12-13 20:38

    This is what I do:

    1. Activate your conda virutal env
    2. Use pip to install into your virtual env
    3. If you face any compatibility issues, use conda

    I recently ran into this when numpy / matplotlib freaked out and I used the conda build to resolve the issue.

提交回复
热议问题