【发布时间】:2016-05-26 16:01:03
【问题描述】:
我通过命令行使用 conda 在 Win64 环境中为 python 2.7 安装了 ggplot:
$conda install -c https://conda.binstar.org/bokeh ggplot
因为:
$pip install -U ggplot
无法找到包(参见以前的stackQ)。
检查模块是否安装:
>python -c "import ggplot"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named ggplot
知道如何解决这个问题吗?
更新说明:调试测试
$pip freeze
>(finds package ggplot)
$import imp
$imp.find_module("ggplot")
>'C:\\Users\\Remi\\Anaconda2\\envs\\envx\\lib\\site-packages\\ggplot'
【问题讨论】:
标签: python python-2.7 conda python-ggplot