[GH-ISSUE #1235] Bug: Installation fails at youtube_dl #3777

Closed
opened 2026-03-15 00:25:41 +03:00 by kerem · 1 comment
Owner

Originally created by @cutterkom on GitHub (Oct 5, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1235

I reinstall archivebox with this custom docker-compose file: https://github.com/forummuenchen/forum-archivebox/blob/main/docker-compose.yml

Surprisingly, the installation fails at the youtube_dl dependency.

Steps to reproduce

mkdir archivebox
cd archivebox
curl -O 'https://raw.githubusercontent.com/forummuenchen/forum-archivebox/main/docker-compose.yml'

My user is member of the docker user group.

Screenshots or log output

[+] Installing enabled ArchiveBox dependencies automatically...

    Installing YOUTUBEDL_BINARY automatically using pip...
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: youtube_dl in /usr/local/lib/python3.11/site-packages (2021.12.17)
[X] Failed to install python packages: [Errno 1] Operation not permitted: '/usr/local/lib/python3.11/site-packages/youtube_dl/__main__.py'

ArchiveBox version

3.9

Originally created by @cutterkom on GitHub (Oct 5, 2023). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1235 I reinstall archivebox with this custom docker-compose file: https://github.com/forummuenchen/forum-archivebox/blob/main/docker-compose.yml Surprisingly, the installation fails at the `youtube_dl` dependency. #### Steps to reproduce ``` mkdir archivebox cd archivebox curl -O 'https://raw.githubusercontent.com/forummuenchen/forum-archivebox/main/docker-compose.yml' ``` My user is member of the `docker` user group. #### Screenshots or log output ``` [+] Installing enabled ArchiveBox dependencies automatically... Installing YOUTUBEDL_BINARY automatically using pip... Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: youtube_dl in /usr/local/lib/python3.11/site-packages (2021.12.17) [X] Failed to install python packages: [Errno 1] Operation not permitted: '/usr/local/lib/python3.11/site-packages/youtube_dl/__main__.py' ``` #### ArchiveBox version 3.9
kerem closed this issue 2026-03-15 00:25:46 +03:00
Author
Owner

@cutterkom commented on GitHub (Oct 5, 2023):

Update: Installation works with your provided docker compose.

<!-- gh-comment-id:1748738880 --> @cutterkom commented on GitHub (Oct 5, 2023): Update: Installation works with your provided docker compose.
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#3777
No description provided.