What is the difference between pip and conda?

后端 未结 12 1091
名媛妹妹
名媛妹妹 2020-11-22 08:27

I know pip is a package manager for python packages. However, I saw the installation on IPython\'s website use conda to install IPython.

Ca

12条回答
  •  北海茫月
    2020-11-22 08:50

    Not to confuse you further, but you can also use pip within your conda environment, which validates the general vs. python specific managers comments above.

    conda install -n testenv pip
    source activate testenv
    pip 
    

    you can also add pip to default packages of any environment so it is present each time so you don't have to follow the above snippet.

提交回复
热议问题