You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, make sure you have installed all the packages. Try using pip3 instead, try sudo, try both.
Next, create a Jupyter notebook or .py script in the same directory as the stocker.py file. You must must must have the stocker.py file in the same exact directory as the code!!!!
Hello! I'm having a similar issue. I'm running spyder (python 3.7) Anaconda
I've installed all the packages and the mycode.py file is in the same directory as the stocker.py file.
INPUT:
from stocker import stocker
microsoft = stocker(ticker='MSFT')
techm = stocker(ticker='TECHM', exchange='NSE')
ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 from stocker import Stocker
ModuleNotFoundError: No module named 'stocker'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
Link to cell: https://colab.research.google.com/drive/1NBS2wwQmApALKCQrv86Wye4-QwpExq9S#scrollTo=KFpvknWXRRQ6
The text was updated successfully, but these errors were encountered: