Traceback (most recent call last):


 "/usr/local/lib/python3.8/dist-packages/telebot/util.py", line 69, in run

task(*args, **kwargs)


 "tbot.py", line 26, in replyphoto

bot.sendPhoto(message.chat.id, message.photo.file_id)
AttributeError: 'TeleBot' object has no attribute 'sendPhoto'

Traceback (most recent call last):


 "/usr/local/bin/wifiphisher", line 11, in <module>

load_entry_point('wifiphisher==1.4', 'console_scripts', 'wifiphisher')()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point

return ep.load()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2443, in load

return self.resolve()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2449, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/local/lib/python3.7/dist-packages/wifiphisher-1.4-py3.7.egg/wifiphisher/pywifiphisher.py", line 31, in <module>

import wifiphisher.common.phishinghttp as phishinghttp


 "/usr/local/lib/python3.7/dist-packages/wifiphisher-1.4-py3.7.egg/wifiphisher/common/phishinghttp.py", line 18, in <module>

asyncio.set_event_loop_policy(tornado.platform.asyncio.AnyThreadEventLoopPolicy())
AttributeError: module 'tornado.platform.asyncio' has no attribute 'AnyThreadEventLoopPolicy'