Bert-as-service: bash: bert-serving-start: command not found

Created on 6 Jun 2019  路  1Comment  路  Source: hanxiao/bert-as-service

Most helpful comment

For future reference, this means your PATH is not set correctly.

Refer to this: https://stackoverflow.com/questions/46973667/python-console-scripts-doesnt-work-when-pip-install-user for more details.

If ~/.local/bin is not on your path, then do this in your .profile or something that gets loaded by your shell:
export PATH=~/.local/bin:$PATH

On a Mac, depending on your Python install, that folder may not exist. Instead the bin folder may sometimes be found here ~/Library/Python/3.7/bin.

>All comments

For future reference, this means your PATH is not set correctly.

Refer to this: https://stackoverflow.com/questions/46973667/python-console-scripts-doesnt-work-when-pip-install-user for more details.

If ~/.local/bin is not on your path, then do this in your .profile or something that gets loaded by your shell:
export PATH=~/.local/bin:$PATH

On a Mac, depending on your Python install, that folder may not exist. Instead the bin folder may sometimes be found here ~/Library/Python/3.7/bin.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JulianGerhard21 picture JulianGerhard21  路  4Comments

lu161513 picture lu161513  路  4Comments

KODGV picture KODGV  路  6Comments

flyzaway picture flyzaway  路  3Comments

un-lock-me picture un-lock-me  路  3Comments