Problem with spacy.load('de')
See original GitHub issueHow to reproduce the problem
import torch
import torch.nn as nn
import torch.optim as optim
from torchtext.datasets import Multi30k
from torchtext.data import Field, BucketIterator
import numpy as np
import spacy
import random
from torch.utils.tensorboard import SummaryWriter # to print to tensorboard
Libraries imported, when i load dataset using the function with spacy, as below,
Error comes while running below code:
spacy_ger = spacy.load("de")
spacy_eng = spacy.load("en")
OSError: [E050] Can't find model 'de'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory
Your Environment
- Operating System: Windows 10
- Python Version Used: 3.7
- spaCy Version Used:2.3.0
- Environment Information: none
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Models & Languages · spaCy Usage Documentation
spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more....
Read more >SpaCy OSError: Can't find model 'en' - Stack Overflow
After running python -m spacy download en , when I try to load the en model, I got error OSError: [E049] Can't find...
Read more >spacy - PyPI
Get a custom spaCy pipeline, tailor-made for your NLP problem by spaCy's core developers. ... pip install -U pip setuptools wheel pip install...
Read more >Install and use spacy models - ProjectPro
Step 1 - Install Spacy using pip command · Step 2 - Download best matching version of specific model for our spacy installation...
Read more >Spacy.load('en') ERROR by Alexander Ermushev
Hi guys,I'm trying to use spaCy library but get error:self.nlp = spacy.load('en') OSError : [E050] Can't find model 'en'. It doesn't seem to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Python doesn’t register packages that have been installed after it started running, so you need to restart the runtime in the notebook in order for it to be able to find the new models.
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.