无法在Python中导入Quandl模块

 收藏

I've installed quanld with pip install quandlcommand and it was successful. But when I tried to import it in VSCODE, it returns an error.

mod

更新:用pip安装quandl。

enter image description here

and now trying to import but lowercase enter image description here

但这还行不通

回复
  • Using the lowercase works to import Quandl from version 3! Probably a change in the namespace from the previous versions as mentioned in the Quandl Blog.

    import quandl
    

    另外,如果您的系统安装了多个python版本,请尝试确保已在所需的python版本中安装了该版本。

    pip3 install quandl
    

    这适用于python3。

    如果您具有虚拟环境设置,请确保已在环境中安装了模块!