[GH-ISSUE #93] No moudle named distutils.dir_util #3085

Closed
opened 2026-03-14 20:56:49 +03:00 by kerem · 2 comments
Owner

Originally created by @Eletroguy on GitHub (Sep 12, 2018).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/93

Trying to run the archiver on ubuntu 18.04 64 bit. I've followed the instructions to verify that all dependencies are installed and it can see chromium and everything, but I still get the error below.

./archive ~/Downloads/bookmarks.html 
Traceback (most recent call last):
  File "./archive", line 14, in <module>
    from archive_methods import archive_links, _RESULTS_TOTALS
  File "/home/eletroguy/books/Bookmarks/bookmark-archiver/archiver/archive_methods.py", line 11, in <module>
    from index import wget_output_path, parse_json_link_index, write_link_index
  File "/home/eletroguy/books/Bookmarks/bookmark-archiver/archiver/index.py", line 6, in <module>
    from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils.dir_util'
Originally created by @Eletroguy on GitHub (Sep 12, 2018). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/93 Trying to run the archiver on ubuntu 18.04 64 bit. I've followed the instructions to verify that all dependencies are installed and it can see chromium and everything, but I still get the error below. ```bash ./archive ~/Downloads/bookmarks.html Traceback (most recent call last): File "./archive", line 14, in <module> from archive_methods import archive_links, _RESULTS_TOTALS File "/home/eletroguy/books/Bookmarks/bookmark-archiver/archiver/archive_methods.py", line 11, in <module> from index import wget_output_path, parse_json_link_index, write_link_index File "/home/eletroguy/books/Bookmarks/bookmark-archiver/archiver/index.py", line 6, in <module> from distutils.dir_util import copy_tree ModuleNotFoundError: No module named 'distutils.dir_util' ```
kerem closed this issue 2026-03-14 20:56:54 +03:00
Author
Owner

@pirate commented on GitHub (Sep 12, 2018):

Looks like you're missing python3-distutils, I'll add it to the setup script, thanks!

For now, run:

apt install python3-distutils
<!-- gh-comment-id:420788008 --> @pirate commented on GitHub (Sep 12, 2018): Looks like you're missing `python3-distutils`, I'll add it to the setup script, thanks! For now, run: ```bash apt install python3-distutils ```
Author
Owner

@pirate commented on GitHub (Sep 12, 2018):

Fixed: github.com/pirate/bookmark-archiver@451cea47e6

<!-- gh-comment-id:420788398 --> @pirate commented on GitHub (Sep 12, 2018): Fixed: https://github.com/pirate/bookmark-archiver/commit/451cea47e68c3e202fd0b928cde1d4f0e3518572
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3085
No description provided.