Cannot install ggplot with anaconda

2019-01-28 01:59发布

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?

6条回答
对你真心纯属浪费
2楼-- · 2019-01-28 02:11

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 
查看更多
神经病院院长
3楼-- · 2019-01-28 02:11

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楼-- · 2019-01-28 02:12

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.

查看更多
Summer. ? 凉城
5楼-- · 2019-01-28 02:19

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
查看更多
ら.Afraid
6楼-- · 2019-01-28 02:33

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

查看更多
淡お忘
7楼-- · 2019-01-28 02:35

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

查看更多
登录 后发表回答