Open Ropena opened 5 years ago
When running the python script extract_features_from_prevectors.py it throws a syntax error in line 7:
line 7: syntax error near unexpected token (' line 7: with open ("prevectors.json", "r") as f:'
(' line 7:
It also prints out: "from: too many arguments"
I'VE LOOKED AT THE CODE BUT COULD NOT FIND ANYTHING WRONG. ANY IDEAS?
First thought, py2 or py3? This was originally written for Python 2.7.
When running the python script extract_features_from_prevectors.py it throws a syntax error in line 7:
line 7: syntax error near unexpected token
(' line 7:
with open ("prevectors.json", "r") as f:'It also prints out: "from: too many arguments"
I'VE LOOKED AT THE CODE BUT COULD NOT FIND ANYTHING WRONG. ANY IDEAS?