问题描述
我正在尝试在virtualenv上运行Quandl模块,我只卸载了pandas软件包,然后卸载了Quandl,
I am am trying to run the Quandl module on a virtualenv which I have uninstalled packages only pandas and then Quandl,
我正在运行python 2.7.10-我已经卸载了所有其他python版本,但是仍然给我"ImportError:没有名为Quandl的模块"的问题.您知道什么地方可能出问题吗?谢谢
I am running Python 2.7.10 - I have uninstalled all other python versions, but its still giving me the issue of 'ImportError: No module named Quandl'. Do you know what might be wrong? Thanks
推荐答案
尝试使用小写字母,导入区分大小写,如下所示:
Try with lower case, import is case sensitive and it's as below:
import quandl
您是否使用pip进行安装?如果是这样,请确保quandl是使用以下列出的已安装模块之一
Did you install with pip? If so ensure quandl is among the listed installed modules with
pip list
否则尝试
help('modules')
确保已正确安装.如果未列出quandl,请尝试重新安装.
To make sure it was installed properly. If you don't see quandl listed , try to reinstall.
这篇关于导入错误;没有名为Quandl的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!