0

Trying to import spacy into Google Colab but getting an error name '_C' is not defined. Is it problem with the torch somewhere inside? screen with the error

torch version: 1.13.1 spacy version: 3.5.0

I've tried to upgrade spacy and cython, but it didn't work. What should I do?

As I said I've tried solutions from here, here and here

When I'm trying to downgrade numpy I'm getting a dependency error with scipy. I've also tried to install torch 1.9.0 as in here but it also didn't work. And I've tried to downgrade to spacy 3.4.3 which runs perfectly on my local machine -- didn't work.

UPD: just discovered that importing torch shows same error

UPD_2: this happened when I've uploaded my own notebook. When I open a new clear notebook -- everything works just fine.

George
  • 21
  • 6

0 Answers0