# TypeError: attrs() got an unexpected keyword argument 'eq'

**URL:** <https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467>\
**Category:** Anaconda Navigator\
**Created:** [October 2, 2023, 3:09pm UTC](https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467 "2023-10-02T15:09:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Wetzel](https://avatars.discourse-cdn.com/v4/letter/j/80bc00/32.png) [@Joe\_Wetzel](https://forum.anaconda.com/u/Joe_Wetzel)\
**Post date:** [October 2, 2023, 3:09pm UTC](https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467/1 "2023-10-02T15:09:40Z")

</div>

can’t open anaconda navigator. Anaconda Prompt works. I uninstalled and resintalled everything once. I ran updates on both conda and conda navigator but continout to get this error: TypeError: attrs() got an unexpected keyword argument ‘eq’

exactly like this:  
(base) C:\Users\joewe\>anaconda-navigator  
Traceback (most recent call last):  
File “C:\Users\joewe\anaconda3\Scripts\anaconda-navigator-script.py”, line 6, in   
from anaconda\_navigator.app.main import main  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\app\main.py”, line 19, in   
from anaconda\_navigator.app.start import start\_app  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\app\start.py”, line 21, in   
from anaconda\_navigator.config import CONF, LINUX, LOCKFILE, MAC, PIDFILE, UBUNTU  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\config\__init_\_.py”, line 23, in   
from anaconda\_navigator.config.main import CONF  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\config\main.py”, line 18, in   
from . import preferences  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\config\preferences.py”, line 33, in   
from . import structures  
File “C:\Users\joewe\anaconda3\Lib\site-packages\anaconda\_navigator\config\structures.py”, line 33, in   
@attr.s(auto\_attribs=True, eq=False, frozen=True, slots=True)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
TypeError: attrs() got an unexpected keyword argument ‘eq’

---

<div class="post-metadata">

**Author:** ![dwt.general](https://avatars.discourse-cdn.com/v4/letter/d/80bc00/32.png) [@dwt.general](https://forum.anaconda.com/u/dwt.general)\
**Post date:** [December 11, 2023, 4:46am UTC](https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467/2 "2023-12-11T04:46:26Z")

</div>

I got the same error with the 2023 July and Sept Windows installer. Ended up uninstalling attrs and reinstalling it.

- Open Anaconda Prompt
- Type “pip uninstall attrs”
- Type “pip install attrs”

I’m using the 2023 07 installer and that command uninstalled attrs version 18 and installed version 21. Anaconda Navigator then opened up when I clicked on the icon.

---

<div class="post-metadata">

**Author:** ![d.scott.holmes](https://avatars.discourse-cdn.com/v4/letter/d/80bc00/32.png) [@d.scott.holmes](https://forum.anaconda.com/u/d.scott.holmes)\
**Post date:** [December 18, 2023, 9:43pm UTC](https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467/3 "2023-12-18T21:43:01Z")

</div>

Unfortunately, this did not work for me. My error message was slightly different:

> @attr.s(auto\_attribs=True, cache\_hash=True, collect\_by\_mro=True, frozen=True, order=False)  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> TypeError: attrs() got an unexpected keyword argument ‘collect\_by\_mro’

Running the above did this:  
Uninstalling attrs-19.3.0

Install: …  
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.  
josim-tools 1.1.6 requires attrs\<20.0.0,\>=19.1.0, but you have attrs 23.1.0 which is incompatible.  
jupyterlab-server 2.25.1 requires jsonschema\>=4.18.0, but you have jsonschema 3.2.0 which is incompatible.  
Successfully installed attrs-23.1.0

So I seem to need an older version of attrs.

---

<div class="post-metadata">

**Author:** ![dwt.general](https://avatars.discourse-cdn.com/v4/letter/d/80bc00/32.png) [@dwt.general](https://forum.anaconda.com/u/dwt.general)\
**Post date:** [December 18, 2023, 10:40pm UTC](https://forum.anaconda.com/t/typeerror-attrs-got-an-unexpected-keyword-argument-eq/62467/4 "2023-12-18T22:40:10Z")

</div>

Sorry I didn’t update my post after I also got issue starting navigator after fixing the attrs, it had a ton of resource reference issues (missing image files). I end up uninstalling Anaconda completely, install miniconda and then navigator on top of it.
