Fix Python – how to check which version of nltk, scikit learn installed?
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 import line
in linux terminal tried to see in this manner:
which nltk
which gives nothing thought it is installed.
Is there any other way to verify thi….