Cannot install ggplot with anaconda

2019-01-28 02:17发布

问题:

I want to be able to use geom_smooth in ggplot. However, when I typed conda install ggplot, I get the error no packages found in current win-32 channels matching ggplot. Anyone know what is going on?

回答1:

Have you tried looking at www.binstar.org? Type in ggplot in the search bar (I have already done so and it pops up with different options, one of which is a win32 channel. Since I have already looked at it this is what you should type into the command shell:

    conda install -c https://conda.binstar.org/bokeh ggplot

I have not tested since I have win64 but this should work

UPDATE: The link above is now broken try this instead

    conda install -c conda-forge ggplot 


回答2:

I think ggplot is simply not packaged for Anaconda as conda search ggplot doesn't find anything. How it can be easily installed via pip -- pip install ggplot.



回答3:

As of Jan 2016, ggplot now comes installed by default if you are using the Anaconda distribution so you can just use install ggplot. New to Python so this is still tripping me up.



回答4:

This worked, but certain functionality was broken:

conda install -c bokeh ggplot=0.9.4

Installing from here is what finally got me what I wanted:

conda install -c conda-forge ggplot


回答5:

I ran across the same issue when installing ggplot. None of the methods worked, eventually I reinstalled anaconda. Then everything works smoothly.



回答6:

conda install -c bokeh ggplot

https://anaconda.org/bokeh/ggplot

Also can do pip install ggplot or sudo -H python2 pip install ggplot

Hope it helps someone although a late answer :p