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
I run moving_average.py again with Python 2.7.12. But it fail now. But moving_average.py can be run after I type "pip install -U grs" on Dos terminal first time.
My moving_average.py is as follows.
from grs import Stock
Dear Toomore,
pip install -U grs
But the following error occurred.
Collecting grs
Downloading grs-0.7.0.tar.gz (96kB)
42% |█████████████▋ | 40kB 91kB/s eta 0:00:01
53% |█████████████████ | 51kB 112kB/s eta 0:0
63% |████████████████████▌ | 61kB 134kB/s eta
74% |███████████████████████▉ | 71kB 119kB/s
85% |███████████████████████████▎ | 81kB 136k
95% |██████████████████████████████▊ | 92kB 1
100% |████████████████████████████████| 102k
B 166kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\snowuyl\AppData\Local\Temp\pip-build-mcrgjp54\grs\setup.py",
line 4, in
import grs
File "C:\Users\snowuyl\AppData\Local\Temp\pip-build-mcrgjp54\grs\grs__init
_.py", line 33, in
from .fetch_data import Stock
File "C:\Users\snowuyl\AppData\Local\Temp\pip-build-mcrgjp54\grs\grs\fetch
data.py", line 497
raise ConnectionError(), u'IN OFFLINE, NO DATA FETCH.'
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in C:\Users\snowuyl\A
ppData\Local\Temp\pip-build-mcrgjp54\grs\
Do you have any suggestion?
Thanks in advance!
snowuyl
The text was updated successfully, but these errors were encountered: