mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 14:45:53 +03:00
[GH-ISSUE #38] Just followed the installation but getting this error message #25
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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'
@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).
@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?
@Tungstenfur commented on GitHub (Feb 23, 2024):
Did you have config.json file at MoneyPrinterV2 folder?
@Tungstenfur commented on GitHub (Feb 23, 2024):
it is in config,json file remember to use double slashes like
\\not\@InternalShadow commented on GitHub (Feb 23, 2024):
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"