Python 3
123 results found
-
TypeError: cannot unpack non-iterable NoneType object in Python
My app throws TypeError: cannot unpack non-iterable NoneType object in Python 3 when I want to sum and find max number in an array.
-
AttributeError: 'set' object has no attribute 'extend' in Python
My code throw exception AttributeError: 'set' object has no attribute 'extend' in Python 3 when I was trying to merge a list to another list with same data format.
-
ModuleNotFoundError: No module named 'click' in Python
ModuleNotFoundError: No module named 'click' in Python when I tried to install the CLICK module inside my project. Anyone can help me solve this.
-
ImportError: cannot import name 'get_config' from 'tensorflow.python.eager.context'
My app throw ImportError: cannot import name 'get_config' from 'tensorflow.python.eager.context' in Python when I used keras.preprocessing to process the image.
-
Error: pg_config executable not found in Python 3.10
Python Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH
-
ValueError: Can only compare identically-labeled DataFrame objects in Python
I got the error ValueError: Can only compare identically-labeled DataFrame objects in Python 3 when I was trying to compare two data frames in Python.
-
ValueError: I/O operation on closed file in Python 3
My code threw ValueError: I/O operation on closed file in Python 3 when I used csv package to help read csv file and manipulate that data. Anyone can help?
-
AttributeError: 'dict' object has no attribute 'has_key' in Python
My app throw AttributeError: 'dict' object has no attribute 'has_key' in Python when I was trying to get value by key from a dictionary. Anyone can help?
-
AttributeError: type object 'datetime.datetime' has no attribute 'timedelta' in Python
I got an exception AttributeError: type object 'datetime.datetime' has no attribute 'timedelta' in Python 3.10 when I was trying to work with datetime package.
-
AttributeError: 'DataFrame' object has no attribute 'as_matrix' in Python
I got an issue AttributeError: 'DataFrame' object has no attribute 'as_matrix' in Python 3.10 when I tried to read data from CSV file and convert it to the array.
-
AttributeError: 'DataFrame' object has no attribute 'price' in Python
My app threw AttributeError: 'DataFrame' object has no attribute 'price' in Python 3.10 when I tried to read data from a CSV file by using the Pandas module.
-
SyntaxError: non-default argument follows default argument in Python
My application threw the error SyntaxError: non-default argument follows default argument in Python 3 when I tried to work with Method in python.
-
Error: BrokenPipeError: [Errno 32] Broken pipe in Python 3
My server threw the error BrokenPipeError: [Errno 32] Broken pipe in Python 3, anyone can explain and help me what mean broken pipe error in python?
-
Throw ImportError: No module named boto3 in Python 3
My application throw ImportError: No module named boto3 in Python 3 when I was trying to get code from Github and run the application from the main.py file.
-
AttributeError: 'str' object has no attribute 'decode' in Python
My code throw exception AttributeError: 'str' object has no attribute 'decode' in Python 3 when I was trying to decode a string containing symbols.