OSError: [E050] Can't find model 'fr_core_web_md'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory
first install the package then import it (but not vice versa)
first : !python3 -m spacy download fr_core_news_md
then : nlp = spacy.load("fr_core_news_md")
I am working on NLP project so I am using spacy, the problem is when I import nlp=spacy.load('fr_core_news_md'), it doesn't work for me and I get this error:

OSError: [E050] Can't find model 'fr_core_news_md'. It doesn't seem to
be a shortcut link, a Python package or a valid path to a data
directory."

Despite the use of python -m spacy download fr_core_news_md