Inconsistent use of tabs and spaces
Forgive my python inexperience, I come from the .net world:
I’m trying to use this library in an application of mine. I must use python3. On startup, python complains of an inconsistent use of tabs and spaces in Order.py, line 130. Is there a workaround or fix for this?
I’ve installed via pip3 if that helps.
Thanks
Traceback (most recent call last): File "pizza.py", line 10, in <module> from pizzapi import * File "/usr/local/lib/python3.5/dist-packages/pizzapi/__init__.py", line 5, in <module> from .order import Order File "/usr/local/lib/python3.5/dist-packages/pizzapi/order.py", line 130 return response ^ TabError: inconsistent use of tabs and spaces in indentation
So I use Pycharm and it shows me the file from modules that has the indentation error, click on it, and then simply tab the last 'return' statement. Works for me