Cannot install ggplot with anaconda

我是研究僧i 提交于 2019-12-18 08:52:16

问题


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



来源:https://stackoverflow.com/questions/29312985/cannot-install-ggplot-with-anaconda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!