syntax error (?) on ubuntu

Joel Goldstick joel.goldstick at gmail.com
Thu May 3 09:11:15 EDT 2018


On Thu, May 3, 2018 at 9:06 AM, joseph pareti <joepareti54 at gmail.com> wrote:
> $ python tf_simple.py
>
> /anaconda/envs/py35/lib/python3.5/site-packages/h5py/__init__.py:36:
> FutureWarning: Conversion of the second argument of issubdtype from `float`
> to `np.floating` is deprecated. In future, it will be treated as
> `np.float64 == np.dtype(float).type`.
>   from ._conv import register_converters as _register_converters
> Traceback (most recent call last):
>   File "tf_simple.py", line 29, in <module>
>     import uniio
>   File "../tools/uniio.py", line 132
>     if(PY3K): ID = ID.decode("utf-8")
>                                      ^
> TabError: inconsistent use of tabs and spaces in indentation
> --
> https://mail.python.org/mailman/listinfo/python-list

Check to see if you have a tab after the colon in the last line.  You
must use colons or spaces, but not both

-- 
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays



More information about the Python-list mailing list