-
Notifications
You must be signed in to change notification settings - Fork 146
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
preprocess.py reduce #69
Comments
ok i can turn it into a string this way
But I get the error
|
I ran into the same problem. The problem went away when I went to Python2.7 by creating a Python 2.7 environment to run the code in. I did this using
If you want to run in Python 3, this post might be helpful: one of the responders suggests using |
In Python 3.6 I tried: It did away: However, it raised: |
I have same error .... |
Hi,
I am trying to run preprocess.py and there is an unresolved reference to reduce:
charset = list(reduce(lambda x, y: set(y) | x, structures, set()))
however, if I:
from functools import reduce
I then get the error.
The text was updated successfully, but these errors were encountered: