Search code examples
pythonmachine-learninganacondaquandl

Conda python3.6 No moduled named 'Quandl'


I tried to run my code which has import Quandl. The below error occur. I have already install quandl via pip, conda and whl files and all of these ways do not work.

runfile('C:/Users/Administrator/Desktop/New folder/stock reinforce/untitled6.py', wdir='C:/Users/Administrator/Desktop/New folder/stock reinforce')
Traceback (most recent call last):

  File "<ipython-input-1-adf3164815a5>", line 1, in <module>
    runfile('C:/Users/Administrator/Desktop/New folder/stock reinforce/untitled6.py', wdir='C:/Users/Administrator/Desktop/New folder/stock reinforce')

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile
    execfile(filename, namespace)

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "C:/Users/Administrator/Desktop/New folder/stock reinforce/untitled6.py", line 15, in <module>
    import Quandl

ModuleNotFoundError: No module named 'Quandl'

Solution

  • Import is case sensitive. Maybe you'll have better luck with:

    import quandl
    

    per https://www.quandl.com/tools/python