jcamiloangarita / stocker

Stock Price Prediction
MIT License
118 stars 52 forks source link

ImportError: cannot import name 'Stocker' #23

Closed SpaceDustPi closed 3 years ago

SpaceDustPi commented 3 years ago

Hi. I am trying to import Stocker from stocker:

import stocker
from stocker import Stocker

But I get the error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-19-fb6f3a05f6ca> in <module>
         1 import stocker
----> 2 from stocker import Stocker

ImportError: cannot import name 'Stocker'

I am importing 'Stocker' so that I can run:

goog=Stocker('GOOGL')
goog.plot_stock()

I am running python 3.6.13 and using Jupyter Notebook.

SpaceDustPi commented 3 years ago

I realized I was supposed to use a package of the same name from a project called Data-Analysis from a different repository.