In shell script I am checking whether this packages are installed or not, if not installed then install it. So withing shell script:
import nltk echo nltk.__version__
but it stops shell script at
in linux terminal tried to see in this manner:
which gives nothing thought it is installed.
Is there any other way to verify this package installation in shell script, if not installed, also install it.