简体   繁体   English

无法用anaconda安装ggp​​lot

[英]Cannot install ggplot with anaconda

I want to be able to use geom_smooth in ggplot. 我希望能够在geom_smooth中使用geom_smooth。 However, when I typed conda install ggplot , I get the error no packages found in current win-32 channels matching ggplot . 但是,当我键入conda install ggplot ,我得到的错误no packages found in current win-32 channels matching ggplot Anyone know what is going on? 有谁知道发生了什么?

Have you tried looking at www.binstar.org? 您是否尝试过查看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: 在搜索栏中键入ggplot(我已经这样做了,它会弹出不同的选项,其中一个是win32通道。因为我已经看过它,所以你应该输入命令shell:

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

I have not tested since I have win64 but this should work 我没有测试,因为我有win64,但这应该工作

UPDATE: The link above is now broken try this instead 更新:上面的链接现在被破坏尝试这个

    conda install -c conda-forge ggplot 

I think ggplot is simply not packaged for Anaconda as conda search ggplot doesn't find anything. 我认为ggplot根本没有为Anaconda打包,因为conda search ggplot没有找到任何东西。 How it can be easily installed via pip -- pip install ggplot . 如何通过pip - pip install ggplot轻松安装。

As of Jan 2016, ggplot now comes installed by default if you are using the Anaconda distribution so you can just use install ggplot . 截至2016年1月,如果您使用的是Anaconda发行版,则默认情况下会install ggplot因此您只需使用install ggplot New to Python so this is still tripping me up. Python新手,所以这仍然让我失望。

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

I ran across the same issue when installing ggplot. 我在安装ggp​​lot时遇到了同样的问题。 None of the methods worked, eventually I reinstalled anaconda. 没有一种方法有效,最终我重新安装了anaconda。 Then everything works smoothly. 一切顺利。

conda install -c bokeh ggplot

https://anaconda.org/bokeh/ggplot https://anaconda.org/bokeh/ggplot

Also can do pip install ggplot or sudo -H python2 pip install ggplot 也可以做pip install ggplotsudo -H python2 pip install ggplot

Hope it helps someone although a late answer :p 希望它有助于某人,虽然回答很晚:p

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM