python -m spacy download it_core_news_sm
nlp = spacy.load("it_core_news_sm")
data_words_nostopsIt doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
我通过Anaconda运行Python2.7,据我所知没有安装Python 3。我对导入tkinter感到困惑。这里关于堆栈溢出的其他几个问题表明,根据您是运行Python2还是Python3,tkinter有单独的模块和略有不同的导入语法。然而,Python3语法在Python2中适用于我(参见下面代码中的注释)。怎么回事?# In reality, they work fine if run normally via the Python 2 interpreter