Import error; no Quandl module

I am trying to run the Quandl module on virtualenv, which I removed only the pandas packages and then Quandl,

I am running Python 2.7.10. I uninstalled all other python versions, but it still gives me the "ImportError: No module quandl" problem. Do you know what could be wrong? Thanks

+13
importerror quandl
source share
11 answers

Try with lower case, import is case sensitive and it is as below:

import quandl 

Did you install using pip? If so, then quandl is included in the list of installed modules with

 pip list 

Otherwise try

 help('modules') 

To make sure it is installed correctly. If you do not see quandl in the list, try reinstalling.

+42
source share

Use lower case syntax below

import quandl

+9
source share

If the above solutions do not work for you (that means you are using python 3), follow these steps (on Linux):

 sudo apt install python3-pip 

Then do;

 pip3 install quandl 

you can use tto i port and use quandl now

+2
source share

I follow the Youtube tutorial where they use "Quandl". It should be quandl. Change it and it will not cause an error.

0
source share

I have a related issue with capitalizing "Q" in the Pycharm IDE (Quandl 3.0.1):

 import quandl as q 

The above will import correctly, however autocomplete will not work.

 import quandl as q 

The above will not be imported, but will allow auto-completion.

My solution is to use autocomplete at work, and then comment out the second import to run.

 import quandl as q #import Quandl as q 
0
source share

I fixed the problem by installing below:

 conda install -c dhirschfeld quandl=3.0.1 
0
source share
  • install quandl for version 3.1.0
  • Check the path to the folder where you installed, make sure that the name quandl is not Quandl (my previous name is Quandl, so when I use import quandl , it always said " no module named quandl ")
  • If your package name is Quandl, uninstall it and reinstall. (I use anaconda to install my package, it is covenant!)
0
source share

With the Anaconda \ Jupyter notebook, go to the installation directory (C: \ Users \ <USER_NAME> \ AppData \ Local \ Continuum \ anaconda3), where <USER_NAME> is your username. Then run on the command line:

  1. Python -m pip install Quandl
  2. import quandle
0
source share

if you encounter the same problem, change Quandl to Quandl and open an account on Quandl and

0
source share

If someone runs a Jupyter image in docker and encounters the same problem, you can open a terminal in Jupyter

and then enter

 pip install quandl 

it will install the quandle pointed to by the jupyter kernel specification list. then import as

 import quandl 

(q lowercase)

I did not find this solution anywhere, so I mentioned it

0
source share

Sometimes the quandl module is present with "Quandl" at the following location C: \ Program Files (x86) \ Anaconda \ lib \ site-packages \ Quandl.

But scripts from Quandl refer to quandl in import statements. So, renaming the Quandl to quandl folder worked for me.

New path: "C: \ Program Files (x86) \ Anaconda \ lib \ site-packages ** quandl **".

-one
source share

All Articles