Closed priyankkalgaonkar closed 6 years ago
Ran pip install -r requirements.txt in cmd (Microsoft Windows [Version 10.0.16299.309]) Then when I try to run python csv-export.py command, I get this error:
pip install -r requirements.txt
python csv-export.py
C:\robinhood-to-csv-master>python csv-export.py File "csv-export.py", line 36 print("Robinhood username:", end=' ') ^ SyntaxError: invalid syntax
Running Python 2.7.12:
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] on win32
Found a solution. Must add from __future__ import print_function module in Line 1 of the script file.
from __future__ import print_function
I'll close this issue.
Ran
pip install -r requirements.txt
in cmd (Microsoft Windows [Version 10.0.16299.309]) Then when I try to runpython csv-export.py
command, I get this error:Running Python 2.7.12: