Top "Attributeerror" questions

Use this with questions involving the Python `AttributeError` exception.

AttributeError: LinearRegression object has no attribute 'coef_'

I've been attempting to fit this data by a Linear Regression, following a tutorial on bigdataexaminer. Everything was working fine …

python python-3.x scikit-learn linear-regression attributeerror
AttributeError: 'tuple' object has no attribute 'write'

I have a homework assignment for a Python class and am running into an error that I don't understand. Running …

python tuples attributeerror
No attribute 'SMTP', error when trying to send email in Python

I am trying to send an email in Python: import smtplib fromaddr = '......................' toaddrs = '......................' msg = 'Spam email …

python email smtp attributeerror
AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'

Following on from my last question Error: No module named psycopg2.extensions, I have updated my mac OS to Mountain …

python django settings localhost attributeerror
Python attribute error: type object '_socketobject' has no attribute 'gethostbyname'

I am trying to do this in my program: dest = socket.gethostbyname(host) I have included the line: from socket …

python attributeerror gethostbyname
AttributeError : Class Instance has no __call__ method

I'm a bit new to python, but familiar with OOP. I'm trying to write a game using PyGame. Basically, my …

python oop python-2.7 pygame attributeerror
pip3 error - '_NamespacePath' object has no attribute 'sort'

I tried to install a package through pip3, and I got this error. Every pip/pip3 command that I run …

python pip python-3.5 attributeerror
AttributeError: 'builtin_function_or_method' object has no attribute 'replace'

When I try to use this in my program, it says that there's an attribute error 'builtin_function_or_method' …

python string attributeerror
How to solve the Attribute error 'float' object has no attribute 'split' in python?

When I run the below code, it gives me an error saying that there is attribute error: 'float' object has …

python string pandas series attributeerror
Python: Pandas Dataframe AttributeError: 'numpy.ndarray' object has no attribute 'fillna'

Since I am creating a dataframe, I don't understand why I am getting an array error. M2 = df.groupby(['song_…

python pandas dataframe attributeerror