Good morning everyone! I'm having trouble with this error that I get when I try to import spacy
(NLP library) in python, if anyone knows why I'm having this error, please let me know.
Error
Traceback (most recent call last):
File "C:\Users\ioann\test.py", line 1, in <module>
import spacy
File "C:\Users\ioann\spacy.py", line 1
import
^
SyntaxError: invalid syntax
You haven't written your import command properly
Try this:
import spacy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.