-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError in preprocessing_data.py #343
Comments
I ran into this the other day - Are you running If the latter, I think it's because we're just using I'll try to make this more robust in a future PR - but for now can you let me know if your problem is solved by changing the line linked above to call |
I tried to run the program with python3, but it kept getting the same error. |
I'm trying to downloand and tokenize Enron Emails but when running preprocessing_data.py a Syntax Error pops up. Specifically in line 105
File "tools/preprocess_data.py", line 105
def yield_from_files(fnames: list, semaphore):
^
SyntaxError: invalid syntax
My python version is 3.8.5, so there shouldn't be any compatiblity problem.
Any ideas why is this happening?
The text was updated successfully, but these errors were encountered: