Python 模块ggplot已安装,但无法导入
我使用Python 模块ggplot已安装,但无法导入,python,python-2.7,conda,python-ggplot,Python,Python 2.7,Conda,Python Ggplot,我使用conda通过命令行在Win64环境中安装了python 2.7的ggplot: $conda install -c https://conda.binstar.org/bokeh ggplot 自: $pip install -U ggplot 找不到包(请参阅) 检查模块是否已安装: >python -c "import ggplot" Traceback (most recent call last): File "<string>", line 1, i
conda
通过命令行在Win64环境中安装了python 2.7的ggplot
:
$conda install -c https://conda.binstar.org/bokeh ggplot
自:
$pip install -U ggplot
找不到包(请参阅)
检查模块是否已安装:
>python -c "import ggplot"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named ggplot
我正在发布我到达的决议。它不是线性的,尽管它可能会使可能遇到类似问题的其他人受益 第一步:激活环境
envx
,据说ggplot
模块位于该环境中
再次导入模块:
$python -c "import ggplot"
抛出以以下内容结尾的投诉:
ImportError: DLL load failed: The specified module could not be found.
从scipy
和ggplot
模块请求导入失败
第二步:重新安装scipy
$conda install scipy
在这里,康达必须对python
,numpy
进行一些“直观”的更新。。。发射型计算机断层扫描仪。在最初的ggplot
安装过程中,conda
走下坡路线
就这样 嘿,我看到了同样的问题,尽管我不确定如何“激活据说ggplot模块所在的环境envx”。您是如何做到的?非常感谢!
$conda install scipy