如何在TravisCI上添加NLTK“wordnet”?

2024-05-15 05:15:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我想将wordnet用于TravisCI上的存储库,目前它给了我以下错误:

enter image description here

如何在TravisCI上下载wordnet


Tags: 错误wordnettravisci
1条回答
网友
1楼 · 发布于 2024-05-15 05:15:23

更改:
install: - pip install -r requirements.txt

收件人:
install: - pip install -r requirements.txt - python -c "import nltk; nltk.download('wordnet')"

成功了

相关问题 更多 >

    热门问题