@Manish-Ashar i think u need to install packages 'smartapi-python' and
'websocket-client'

pip install smartapi-python
pip install websocket-client