[Python] ModuleNotFoundError: No module named 'NSKeyedUnarchiver'

Discussão em 'Python' iniciado por Stack, Maio 28, 2025.

  1. Stack

    Stack Membro Participativo

    I struggle with the error

    ModuleNotFoundError: No module named 'NSKeyedUnarchiver'


    which raises on import, after installing the module NSKeyedUnArchiver via pip.

    Project setup (MacOS):

    $ pip -m venv env
    $ source env/bin/activate
    $ which python
    /Users/Abid/Entwicklung/python/test-nskeyedunarchiver/env/bin/python
    $ which pip
    /Users/Abid/Entwicklung/python/test-nskeyedunarchiver/env/bin/pip
    $ pip freeze
    NSKeyedUnArchiver==1.5.1
    $ python -c "from nskeyedunarchiver import NSKeyedUnArchiver"
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'nskeyedunarchiver'
    $ python -c "import NSKeyedUnArchiver"
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'NSKeyedUnArchiver'


    Any ideas how to solve this?

    Continue reading...

Compartilhe esta Página