Open bidyutdeka opened 5 years ago
Friend of mine got the same error. He's on pip 18.1 and python 2.7.
Worked for me on pip 10.0.1 and python 3.7.
Also had to use: had to use: python3 -m pip install slackclient to install.
I am getting this same error - Python 2.7
I had the same error on Python 2.7.
Python3 gives more info that helped me diagnose this as SlackLoginError. Some googling turned up this link, which suggests using the "Bot User OAuth Access Token" (the second one).
https://github.com/slackapi/python-slackclient/issues/326
I switched and it's good now.
I did make a hack/fix for Python 2.7 (I can't remember)
It was something like adding logger.basicConfig()
right at the top of the client module
Yep, just confirmed your fix @bkgoodman ... need to:
import logging
logging.basicConfig()
to get rid of the log handler error on Python 2.7
I am getting this issue when trying to start the bot
No handlers could be found for logger "slackclient.client" Connection failed. Exception traceback printed above.