[GH-ISSUE #41] Linux No such file or directory error #29

Closed
opened 2026-03-02 04:06:19 +03:00 by kerem · 1 comment
Owner

Originally created by @AMEND09 on GitHub (Feb 25, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/41

I recently installed this on Linux, I followed all of the installation steps. I saw a similar issue for Windows but did not see a solution for Linux. Here is the more specific error:

Traceback (most recent call last):
File "/home/adi/MoneyPrinterV2/src/main.py", line 14, in
from classes.YouTube import YouTube
File "/home/adi/MoneyPrinterV2/src/classes/YouTube.py", line 30, in
change_settings({"IMAGEMAGICK_BINARY": get_imagemagick_path()})
^^^^^^^^^^^^^^^^^^^^^^
File "/home/adi/MoneyPrinterV2/src/config.py", line 241, in get_imagemagick_path
with open(os.path.join(ROOT_DIR, "config.json"), "r") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/adi/MoneyPrinterV2/config.json'

Originally created by @AMEND09 on GitHub (Feb 25, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/41 I recently installed this on Linux, I followed all of the installation steps. I saw a similar issue for Windows but did not see a solution for Linux. Here is the more specific error: Traceback (most recent call last): File "/home/adi/MoneyPrinterV2/src/main.py", line 14, in <module> from classes.YouTube import YouTube File "/home/adi/MoneyPrinterV2/src/classes/YouTube.py", line 30, in <module> change_settings({"IMAGEMAGICK_BINARY": get_imagemagick_path()}) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/adi/MoneyPrinterV2/src/config.py", line 241, in get_imagemagick_path with open(os.path.join(ROOT_DIR, "config.json"), "r") as file: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/adi/MoneyPrinterV2/config.json'
kerem closed this issue 2026-03-02 04:06:20 +03:00
Author
Owner

@FujiwaraChoki commented on GitHub (Feb 25, 2024):

Make sure to copy config.example.json to config.json.

<!-- gh-comment-id:1962892880 --> @FujiwaraChoki commented on GitHub (Feb 25, 2024): Make sure to copy `config.example.json` to `config.json`.
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/MoneyPrinterV2#29
No description provided.