syntax error (?) on ubuntu

Ned Batchelder ned at nedbatchelder.com
Thu May 3 14:23:05 EDT 2018


On 5/3/18 9:11 AM, Joel Goldstick wrote:
> 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
>

/tabs/ or spaces.

--Ned.



More information about the Python-list mailing list