Unable to pip install packages in Anaconda

后端 未结 5 461
无人共我
无人共我 2020-12-25 15:20

Just downloaded and installed anaconda 3.6.2 on Mac OSX Mavericks and I need to install a package seaborn which is not pre-installed with anaconda.



        
相关标签:
5条回答
  • 2020-12-25 15:38

    You need to install the anaconda version of pip. Just run:

    conda install pip
    

    This will install pip inside of the activated conda environment

    0 讨论(0)
  • 2020-12-25 15:38

    Remove the virtualenvwrapper lines from your bashprofile. With Anaconda, you should use conda environments instead of virtualenvs, and using virtualenvs can end up breaking your conda environments.

    0 讨论(0)
  • 2020-12-25 15:38

    Maybe just put this in your bash_profile:

    export PIP_REQUIRE_VIRTUALENV=false
    

    That was my issue, I forgot that I had set up PIP this way.

    0 讨论(0)
  • 2020-12-25 15:40

    I Had the same problem installing ggplot using Mac. If you execute from Terminal:

    /anaconda/bin/pip install module_name
    

    it works. I hope it can help!

    MC

    0 讨论(0)
  • 2020-12-25 16:00

    Try entering the command in Anaconda Prompt and not Command Prompt.

    0 讨论(0)
提交回复
热议问题