首页 > 解决方案 > 尝试在 heroku 上部署应用程序,错误:nltk.downloader(运行时警告)

问题描述

我收到以下错误,因此我部署的应用程序不可见,请帮助我解决此问题:

Downloading NLTK packages: wordnet punkt stopwords vader_lexicon


/app/.heroku/python/lib/python3.9/runpy.py:127: RuntimeWarning: 'nltk.downloader' found in sys.modules after import of package 'nltk', but prior to execution of 'nltk.downloader'; this may result in unpredictable behaviour

标签: pythonherokudeploymentnltkwarnings

解决方案


推荐阅读