Cpu supports instructions that this tensorflow binary was not compiled to use: avx2 fma. Fma because installed version is not optimized to utilize speed gains by CPU
numpy throws valueerror: the truth value of an array with more than one element is ambiguous. use a.any() or a.all(), when array is compared to bool.You can understand this properly with example
The IndentationError: unindent does not match any outer indentation level. Also, it is recommended to use spaces.
Python throws modulenotfounderror: no module named 'numpy', when either multiple python versions are installed or environment path is wrong.
Python throws error ValueError: invalid literal for int() with base 10: '' when float string is passed to int() function.
Python throws error 'float' object cannot be interpreted as an integer when we are supplying float value where int is expected like range().
Python throws valueerror: setting an array element with a sequence when you are creating array with lists of different length.
Python3 throws the TypeError: a bytes-like object is required, not 'str', when we try to do string operations on binary values.
Python throws typeerror string indices must be integers when we try to index a string with a string. Ex. str='ab'; str[ "0" ].
Python throws error 'method' object is not subscriptable when a class method is indexed with  like it its a list or array.
Python throws error, 'float' object is not iterable, when you try to loop over a float value. Floats are not an iterable object.
Python throws error, ‘dict’ object has no attribute ‘iteritems’, because `iteritems()` function is removed from Python 3\. Similarly, functions like `iterkeys()` and `itervalues()` are also removed. According to [Python3.0 Built-in changes...
Python throws error, 'function' object is not subscriptable, when we try to index or subscript a function. Lear from code and demo.
Best Practices and need-to-knows for error handling in Python AWS Lambdas. Python, used in around 53% of all Lambda functions, is the most popular language for doing Serverless.