@swagatluha follow this thread - Learn Algo Trading with Python | Codes | Youtube Series - #15 by Tradehull_Imran
Remove pip install logging as it’s already there. To check it type python in cmd or terminal
import logging
print(logging.version)
edit: there is double underscore at beginning and end of version