[FLASH-USERS] Setup failure on linux
Jason Galyardt
jason.galyardt at gmail.com
Sun Dec 30 12:40:53 EST 2018
This is a Python 3 error: some of the lines in setup.py use spaces for
indentation, while other lines use tabs. Try using Python 2.7 instead of
Python 3.x and see if it goes away. A virtual environment such as pipenv
can help with this without requiring administrator priveleges.
Going forward, the FLASH Python scripts will need to be updated for Python
3. A good linter such as pylint can help spot these problems. The linter
should interface with your Python IDE; I know for sure that this works with
the freely available Microsoft Visual Studio Code, but it should work with
anything from Emacs to Atom.
Cheers,
Jason
On Sun, Dec 30, 2018 at 12:12 PM Kawa Noman <knoman at uni-potsdam.de> wrote:
> Dear Flash-users,
>
>
> I am working on Macbook Air laptop and I have been encountering a
> problem
> with setup.py file when i try to set up the confiure file ./setup Sedov
> -auto ,i got
>
>
> File "/Users/kawanoman/Downloads/FLASH4.5/bin/setup.py", line 131
> print("Using Makefile.h: " + tmp_makefilePathSites)
> ^
> TabError: inconsistent use of tabs and spaces in indentation
>
>
> I have taken a snapshot and yo can clearly see the code . Any hints for
> seting up the code or advice on how to counter this problem will be much
> appreciated . Happy new year .
>
>
> WIth kind regards,
> kawa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20181230/876cfa18/attachment-0001.htm>
More information about the flash-users
mailing list