nlpserver icon indicating copy to clipboard operation
nlpserver copied to clipboard

No module named 'click._bashcomplete'

Open thomasjohnkane opened this issue 4 years ago • 1 comments

Hello,

I'm trying to run the Docker environment based on this: https://github.com/web64/nlpserver/pull/6

I receive the error: No module named 'click._bashcomplete' In this line: RUN python3 -m spacy download en && python3 -m spacy download xx

I've tried adding click to the requirements.txt file, and also pinning the spacy version to less than v3.

Anybody else experiencing this or have any suggestions?

Thanks,

thomasjohnkane avatar Jun 17 '21 02:06 thomasjohnkane

For anyone interested, I changed line 18 to this and got the build to complete successfully:

python3 -m pip install --upgrade pip setuptools wheel && pip install -r requirements.txt

Which makes sure pip, setuptools and wheel are updated before installing requirements.

If this is a real issue and not isolated to me, I'll submit a PR. Let me know.

Thanks,

thomasjohnkane avatar Jun 17 '21 02:06 thomasjohnkane