Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImportError: No module named 'indexer' Flask, Spellchecker

I need to dockerize a flask app that uses spellchecker. When running the docker image I get this error:

ImportError: No module named 'indexer'

  File "/usr/local/lib/python3.5/site-packages/spellchecker/core.py", line 26, in <module>
    from indexer import DictionaryIndex
ImportError: No module named 'indexer'
like image 728
Emna Aidoudi Avatar asked Apr 04 '19 23:04

Emna Aidoudi


1 Answers

I was facing same error, I added pyspellchecker into requirements.txt and it worked for me.

like image 165
Omkar Avatar answered Nov 15 '22 08:11

Omkar