Data-Analysis icon indicating copy to clipboard operation
Data-Analysis copied to clipboard

Data-Analysis/stocker/stocker.py

Open Superboysumit opened this issue 6 years ago • 4 comments

from stocker import Stocker


ImportError Traceback (most recent call last) in ----> 1 from stocker import Stocker

ImportError: cannot import name 'Stocker' from 'stocker' (C:\Users\SHIVSHAKTI\stocker.py)

please help with this issue why I cannot import ??

Superboysumit avatar May 30 '19 09:05 Superboysumit

where are you importing it from?

kevb10 avatar Jun 24 '19 00:06 kevb10

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

franckvallee avatar Mar 08 '20 12:03 franckvallee

try pip install stocker on anaconda prompt. not in cmd that work ;)

mehrdad021021 avatar Apr 18 '20 22:04 mehrdad021021

same issue here, ImportError: cannot import name 'Stocker' from 'stocker' (unknown location)

williamsin9g avatar Mar 13 '21 14:03 williamsin9g