[FLASH-USERS] inconsistent use of tabs and spaces in indentation

John Zuhone jzuhone at gmail.com
Thu Mar 15 14:12:30 EDT 2018


Hi Ian,

This usually happens when the python I’m using is Python 3—this script hasn’t been updated for that.

If you can switch to Python 2 being the python executable I think then it should work.

Best,

John

> On Mar 15, 2018, at 2:02 PM, Ian Padilla <ia6400pa-s at student.lu.se> wrote:
> 
> Hello!
> 
> I am trying to compile the Sedov problem. I get an error when I configure it typing 
> 
> ./setup Sedov -auto
> 
> The error displayed is:
> 
> 
> File "/Users/USER/Downloads/FLASH4.5/bin/setup.py", line 66
>     unitList.generateUnitsfile()
>                                ^
> TabError: inconsistent use of tabs and spaces in indentation
> 
> 
> I’m using Xcode and I tried to re-indent the setup.py file and I get the same error. How to fix this?
> 
> Thanks!
> Ian
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20180315/2d97e406/attachment-0001.htm>


More information about the flash-users mailing list