python-matrix-bot-api icon indicating copy to clipboard operation
python-matrix-bot-api copied to clipboard

ImportError: No module named mhandler

Open thomascriscione opened this issue 6 years ago • 1 comments

Hello,

When I try to launch the exemple I have the following message:

Traceback (most recent call last): File "example_bot.py", line 13, in <module> from matrix_bot_api.mregex_handler import MRegexHandler File "/home/myHome/python-matrix-bot-api/matrix_bot_api/mregex_handler.py", line 6, in <module> from matrix_bot_api.mhandler import MHandler ImportError: No module named mhandler I have, of course, intalled matrix-python-sdk with: pip install matrix_client.

Thanks for your help !

Much appreciated !

vlp

thomascriscione avatar Jan 14 '19 21:01 thomascriscione

Hi,

This looks suspiciously like a python 2 vs 3 difference. For this project, I'm only interested in supporting python 3, so you'll need to switch in order to use it.

shawnanastasio avatar Jan 22 '19 04:01 shawnanastasio