question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bugfix: ModuleNotFoundError: No module named 'archivebox.vendor.base32_crockford'

See original GitHub issue

Describe the bug

Since updating from 0.4.24-1 to 0.5.3-1, whenever I run archivebox, or an command following it, I get the error ModuleNotFoundError: No module named 'archivebox.vendor.base32_crockford'. I didn’t have this issue before, and I’m unable to revert back to the earlier version. May be related to https://github.com/ArchiveBox/ArchiveBox/issues/581.

Steps to reproduce

  1. Install archivebox .
  2. Run any archivebox command, e.g. archivebox --version, archivebox init.
  3. Receive below error.

Screenshots or log output

Traceback (most recent call last):
  File "/usr/bin/archivebox", line 11, in <module>
    load_entry_point('archivebox==0.5.3', 'console_scripts', 'archivebox')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/archivebox/cli/__init__.py", line 72, in <module>
    SUBCOMMANDS = list_subcommands()
  File "/usr/lib/python3/dist-packages/archivebox/cli/__init__.py", line 44, in list_subcommands
    module = import_module('.archivebox_{}'.format(subcommand), __package__)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3/dist-packages/archivebox/cli/archivebox_add.py", line 11, in <module>
    from ..main import add
  File "/usr/lib/python3/dist-packages/archivebox/main.py", line 22, in <module>
    from .parsers import (
  File "/usr/lib/python3/dist-packages/archivebox/parsers/__init__.py", line 17, in <module>
    from ..system import atomic_write
  File "/usr/lib/python3/dist-packages/archivebox/system.py", line 15, in <module>
    from .util import enforce_types, ExtendedEncoder
  File "/usr/lib/python3/dist-packages/archivebox/util.py", line 18, in <module>
    from .vendor.base32_crockford import encode as base32_encode                            # type: ignore
ModuleNotFoundError: No module named 'archivebox.vendor.base32_crockford'

Software versions

  • OS: Ubuntu 20.04.1 LTS 64-bit
  • ArchiveBox version: archivebox/focal,focal,now 0.5.3-1
  • Python version: Python 3.8.5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
piratecommented, Feb 9, 2021
1reaction
piratecommented, Jan 11, 2021

Thanks for reporting. Try now, I fixed a problem with the debian packaging process and bumped it to 0.5.3-2 (give it 30min to finish the release build).

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'pip._vendor ...
Whenever I try using pip3 or anything that contains pip3 , I get the following error: ModuleNotFoundError: No module named 'pip._vendor.
Read more >
Simple Index
AESEncryptor-heureka-code ... All-you-need-module · AllAboutLinkedList · AllAttachmentsMacro · AllMyVariousFunctions ... Fourier-Series-Calculator-bugfixed
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found