Skip to content

ImportError: cannot import name 'NOTHING' from 'attr' (unknown location) #88

@stormsnsnow

Description

@stormsnsnow

Short Information

  • Used Toolkit version: 1.0.4
  • Operating System: Windows 11 24H2

Problem Definition Briefly (might be explained in steps)

  • When starting MapSyncer upon rebooting device, an error message appears.
  • ImportError: cannot import name 'NOTHING' from 'attr' (unknown location)
  • This is fixed briefly by installing mapsyncer again but runs into a message saying that attrs is incompatible with referencing.
  • 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.
    referencing 0.36.2 requires attrs>=22.2.0, but you have attrs 21.2.0 which is incompatible.
    when trying to install mapsyncer and mapilio-kit, it runs into a conflict issue
    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.
    mapilio-kit 3.0.5 requires attrs==21.2.0, but you have attrs 25.3.0 which is incompatible.

Expected Output

  • To start properly and without errors.

Actual Output

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Scripts\RunMapSyncer.exe__main.py", line 4, in
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\MapSyncer\app.py", line 10, in
from mapilio_kit.base import authenticator
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\mapilio_kit\base__init.py", line 1, in
from mapilio_kit.base.loader import Upload
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\mapilio_kit\base\loader.py", line 2, in
from mapilio_kit.components.upload.upload import upload
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\mapilio_kit\components\upload\upload.py", line 8, in
from mapilio_kit.components.upload import uploader
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\mapilio_kit\components\upload\uploader.py", line 13, in
import jsonschema
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\jsonschema__init.py", line 13, in
from jsonschema._format import FormatChecker
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\jsonschema_format.py", line 11, in
from jsonschema.exceptions import FormatError
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\jsonschema\exceptions.py", line 13, in
from attrs import define
File "C:\Users\storm\AppData\Local\Programs\Python\Python312\Lib\site-packages\attrs__init.py", line 3, in
from attr import (
ImportError: cannot import name 'NOTHING' from 'attr' (unknown location)

  • 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.
    referencing 0.36.2 requires attrs>=22.2.0, but you have attrs 21.2.0 which is incompatible.
    when trying to install mapsyncer and mapilio-kit, it runs into a conflict issue
    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.
    mapilio-kit 3.0.5 requires attrs==21.2.0, but you have attrs 25.3.0 which is incompatible.

Extra information (can contain screen shots)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions