grs icon indicating copy to clipboard operation
grs copied to clipboard

Not able to install: SyntaxError with invalid syntax

Open NasuYue opened this issue 7 years ago • 4 comments

Collecting grs
  Using cached grs-0.7.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/y8/04ps3r3d52q3mz7wfy_mgc8m0000gn/T/pip-build-og6hoafl/grs/setup.py", line 4, in <module>
        import grs
      File "/private/var/folders/y8/04ps3r3d52q3mz7wfy_mgc8m0000gn/T/pip-build-og6hoafl/grs/grs/__init__.py", line 33, in <module>
        from .fetch_data import Stock
      File "/private/var/folders/y8/04ps3r3d52q3mz7wfy_mgc8m0000gn/T/pip-build-og6hoafl/grs/grs/fetch_data.py", line 497
        raise ConnectionError(), u'IN OFFLINE, NO DATA FETCH.'
                               ^
    SyntaxError: invalid syntax

I am running it on macOS Sierra & Python 2.7 virtual environment. Even I got your repository in local environment and run setup.py, it still failed anyway. Please help out how to install this package successfully. Thanks for all help.

NasuYue avatar Mar 08 '17 14:03 NasuYue

I had the same problem

Denielll avatar Apr 26 '17 03:04 Denielll

I had the same problem (Python 3.5 version)

tobeywang avatar May 23 '17 09:05 tobeywang

Same thing happen here.

ghost avatar Apr 16 '18 12:04 ghost

I had the same problem (Python 3.8 version)

dafeng0908 avatar Aug 19 '20 14:08 dafeng0908