-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
StopIteration raised every time #243
Comments
This issue is likely due to PEP-479 (https://www.python.org/dev/peps/pep-0479/) This introduced a breaking change in the handling of "StopIteration" in generators that was activated by default in Python 3.7. In Python3.6, you would have seen a warning about the upcoming deprecation. Someone should refer to PEP-479, in particular this section (https://www.python.org/dev/peps/pep-0479/#id38) to refactor this code. At first glance, I would bet that replacing |
Same here on python 3.7, any update planned? |
Try this, CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 3.6.8 It didn't work with Python 3.7. Python 3.6 works for me. |
This is incredibly annoying when parallelizing with joblib ... |
Here's an easy workaround:
Basically, the pattern code will fail the first time you run it, so you first need to run it once and catch the Exception it throws. It's worked well enough for my own scripts, but I don't know if it fixes every possible issue. Ideally though, somebody should fork the clips/pattern project since it's no longer maintained. |
If you use this method you should do 'except RuntimeError', in case you get any other error instead. |
In /text/init.py
StopIteration gets raised every time
The text was updated successfully, but these errors were encountered: