I am trying to run Apache storm topology with Python bolt using shell bolt. In my bolt i am using spacy library which i have installed in /home/labuser/anaconda3/bin/python. However when i run topology storm displays error message module not found spacy. After debugging i found that storm is using python 2.7 located in /usr/bin/python .
My question is an extension to question below, In storm, how to specify specific version of python
as per answer in the question above i tried to create shell bolt using super("home/labuser/anaconda3/bin/python", "splitsentence.py"); constructor but yet storm continues to pick up 2.7 in /usr/bin/python dir.
I need to know how i could tell storm to use python3 in home/labuser/anaconda3/bin/python directory for my shell bolt.