导入已安装模块时发生Python错误

导入已安装模块时发生Python错误,python,module,Python,Module,Python成功安装模块但无法加载模块时出错 目前,我正在Windows7上的Juptyer笔记本中使用Python 3.5.1、Anaconda 2.4.1(64位) 我运行了成功完成的pip安装quandl。如果我再运行一次,我会 > Requirement already satisfied (use --upgrade to upgrade): quandl in > c:\users\crushee\anaconda3\lib\site-packages 此外,当我运行p

Python成功安装模块但无法加载模块时出错

目前,我正在Windows7上的Juptyer笔记本中使用Python 3.5.1、Anaconda 2.4.1(64位)

我运行了成功完成的
pip安装quandl
。如果我再运行一次,我会

> Requirement already satisfied (use --upgrade to upgrade): quandl in
> c:\users\crushee\anaconda3\lib\site-packages
此外,当我运行
pip freeze

当我在笔记本中运行
sys.path
时,它也会返回相同的安装目录。我还将此目录添加到Windows中的PYTHONPATH系统变量中

> ['',  'C:\\Users\\crushee\\Anaconda3\\Lib', 
> 'c:\\users\\crushee\\anaconda3\\lib\\site-packages\\setuptools-19.1.1-py3.5.egg',
> 'C:\\Users\\crushee\\Anaconda3\\Lib\\site-packages\\
但是,当我尝试导入quandl时,它返回一个错误

ImportError                               Traceback (most recent call last)
<ipython-input-5-ab7fa5ad38a5> in <module>()
----> 1 import quandl

ImportError: No module named 'quandl'
ImportError回溯(最近一次调用)
在()
---->1进口quandl
ImportError:没有名为“quandl”的模块
最后,如果我尝试以详细模式导入它,这里是输出

Traceback (most recent call last): 
File "<stdin>", line 1, in <module> 
File "<frozen importlib._bootstrap>", line 969, in > _find_and_load 
File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked   ImportError: No module name 'quandl'
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“”,第969行,在>\u查找并加载
文件“”,第956行,在_find_和_load_中:没有模块名'quandl'
任何帮助都将不胜感激

请尝试:

import Quandl

对于其他软件包,您可能会遇到其他导入错误(例如我遇到了
pandas
的导入错误。因此,请安装
pandas
)。它作为
Quandl
安装在
/usr/local/lib//dist软件包中

哇,真不敢相信我错过了。谢谢你的帮助