[GH-ISSUE #38] Just followed the installation but getting this error message #25

Closed
opened 2026-03-02 04:06:18 +03:00 by kerem · 5 comments
Owner

Originally created by @dwk601 on GitHub (Feb 23, 2024).
Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/38

Traceback (most recent call last):
File "/home/dongwook/Project/MoneyPrinterV2/src/main.py", line 14, in
from classes.YouTube import YouTube
File "/home/dongwook/Project/MoneyPrinterV2/src/classes/YouTube.py", line 30, in
change_settings({"IMAGEMAGICK_BINARY": get_imagemagick_path()})
^^^^^^^^^^^^^^^^^^^^^^
File "/home/dongwook/Project/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/dongwook/Project/MoneyPrinterV2/config.json'

Originally created by @dwk601 on GitHub (Feb 23, 2024). Original GitHub issue: https://github.com/FujiwaraChoki/MoneyPrinterV2/issues/38 Traceback (most recent call last): File "/home/dongwook/Project/MoneyPrinterV2/src/main.py", line 14, in <module> from classes.YouTube import YouTube File "/home/dongwook/Project/MoneyPrinterV2/src/classes/YouTube.py", line 30, in <module> change_settings({"IMAGEMAGICK_BINARY": get_imagemagick_path()}) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/dongwook/Project/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/dongwook/Project/MoneyPrinterV2/config.json'
kerem closed this issue 2026-03-02 04:06:18 +03:00
Author
Owner

@InternalShadow commented on GitHub (Feb 23, 2024):

you need to set the path to your magick.exe on windows

Typical Windows path
"imagemagick_path": "C:\\Program Files\\ImageMagick-7.1.0-Q16\\magick.exe"

linux/macos
otherwise on Linux/MacOS the path to convert (usually /usr/bin/convert).

<!-- gh-comment-id:1961625340 --> @InternalShadow commented on GitHub (Feb 23, 2024): you need to set the path to your magick.exe on windows Typical Windows path "imagemagick_path": "C:\\\Program Files\\\ImageMagick-7.1.0-Q16\\\magick.exe" linux/macos otherwise on Linux/MacOS the path to convert (usually /usr/bin/convert).
Author
Owner

@dwk601 commented on GitHub (Feb 23, 2024):

So where do I set the path to my magick.exe on windows?
I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe"
which file should I modify?

<!-- gh-comment-id:1961717545 --> @dwk601 commented on GitHub (Feb 23, 2024): So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify?
Author
Owner

@Tungstenfur commented on GitHub (Feb 23, 2024):

So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify?

Did you have config.json file at MoneyPrinterV2 folder?

<!-- gh-comment-id:1961726383 --> @Tungstenfur commented on GitHub (Feb 23, 2024): > So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify? Did you have config.json file at MoneyPrinterV2 folder?
Author
Owner

@Tungstenfur commented on GitHub (Feb 23, 2024):

So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify?

it is in config,json file remember to use double slashes like \\ not \

<!-- gh-comment-id:1961729434 --> @Tungstenfur commented on GitHub (Feb 23, 2024): > So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify? it is in config,json file remember to use double slashes like `\\` not `\`
Author
Owner

@InternalShadow commented on GitHub (Feb 23, 2024):

So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify?

config.json add the following line to "imagemagick_path":
"C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe"
so it looks like:

"imagemagick_path": "C:\\Program Files\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe"

<!-- gh-comment-id:1961763126 --> @InternalShadow commented on GitHub (Feb 23, 2024): > So where do I set the path to my magick.exe on windows? I have it in: "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe" which file should I modify? config.json add the following line to "imagemagick_path": "C:\\\Program Files\\\ImageMagick-7.1.1-Q16-HDRI\\\magick.exe" so it looks like: <code> "imagemagick_path": "C:\\\Program Files\\\ImageMagick-7.1.1-Q16-HDRI\\\magick.exe" </code>
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#25
No description provided.