Facebook-Messenger-Bot icon indicating copy to clipboard operation
Facebook-Messenger-Bot copied to clipboard

createDataset.py error

Open j4rv1s1 opened this issue 5 years ago • 1 comments

can't run createDataset.py, Installed all the dependencies via pip but when I run the .py I get:

File "createDataset.py", line 51 for index,lines in enumerate(allLines): ^ TabError: inconsistent use of tabs and spaces in indentation

tried to fix it but with no luck, any help?

j4rv1s1 avatar Nov 15 '18 11:11 j4rv1s1

Sorry, I think I was a little haphazard with my uses of tabs and spaces when I wrote this. This error normally results when you have some lines preceded by spaces and some by tabs. I'd recommend choosing one or the other, and this post shows one way of doing that.

adeshpande3 avatar Nov 15 '18 15:11 adeshpande3