-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Language.save_to_directory fails if the path is a string #1009
Comments
Hmm, this is interesting! Could you share how you're calling spaCy currently uses an |
Oh, I see - I was using the version from pip, and it does not call I'll close the issue then. Thanks! |
Oh, I didn't realise this was a fix we hadn't released as part of v1.8.0 yet. The next point release will hopefully be up on pip later tonight! Sorry about the confusion. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
The documentation says that the
path
argument in theLanguage.save_to_directory
method can be a string. However, this methods fails in such case:It works fine if the argument is a pathlib's Path.
Your Environment
The text was updated successfully, but these errors were encountered: