No Module Named thinc.types #9684
-
ModuleNotFoundError: No module named 'thinc.types'Spacy Information
I downgraded my Spacy to 2.3.5 and I am running into No module named 'thinc.types'. I have tried all the the suggested but didn't work for my! I am on a window 10 PC environment.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Sorry you're having trouble with this. It looks like your version of spacy-transformers is one that only supports v3, and that's causing you issues with thinc. You may be able to just If installing from scratch doesn't work, let us know. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you so so much it worked. I was at the verge of failing in my final
year project due to that error. May God bless you 🙏
On Wed, Nov 17, 2021, 06:54 Paullaster Okoth ***@***.***>
wrote:
… Thanks I am trying out that right away and will let you know how it goes
On Wed, Nov 17, 2021, 06:38 polm ***@***.***> wrote:
> Also, a markdown note - when pasting multi-line text, put three backticks
> at the start and end to mark it as a code block. See here
> <https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#:~:text=to%20format%20code%20or%20text%20into%20its%20own%20distinct%20block%2C%20use%20triple%20backticks.>
> .
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#9684 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKLO5S3QKK43P3DU6PXP2DDUMMPUDANCNFSM5IF4SS3Q>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Beta Was this translation helpful? Give feedback.
-
Hi polm, I am facing the same issue and when I am trying to degrade the Transformers to 0.6.2 Building wheel for tokenizers (pyproject.toml) did not run successfully. [46 lines of output] using Spacy 2.3.5 |
Beta Was this translation helpful? Give feedback.
Sorry you're having trouble with this. It looks like your version of spacy-transformers is one that only supports v3, and that's causing you issues with thinc. You may be able to just
pip uninstall spacy-transformers
to fix the issue. If that doesn't work, I recommend installing spaCy from scratch in a blank environment - when you downgrade, pip doesn't make sure all dependencies are compatible, so you need to start from scratch to ensure that.If installing from scratch doesn't work, let us know.