Data-Analysis
Data-Analysis copied to clipboard
Data-Analysis/stocker/stocker.py
from stocker import Stocker
ImportError Traceback (most recent call last)
ImportError: cannot import name 'Stocker' from 'stocker' (C:\Users\SHIVSHAKTI\stocker.py)
please help with this issue why I cannot import ??
where are you importing it from?
Same problem with Python 3.7.4 (Anaconda) pip install stocker worked fine but cannot execute from stocker import Stocker ==> ImportError: cannot import name 'Stocker' from 'stocker' (C:\PROGRAMS\Python\Python37\lib\site-packages\stocker_init_.py)
Indeed not an issue anymore, just a name colliding with another module called stocker here: => https://github.com/jcamiloangarita/stocker
try pip install stocker on anaconda prompt. not in cmd that work ;)
same issue here, ImportError: cannot import name 'Stocker' from 'stocker' (unknown location)