FujiwaraChoki / MoneyPrinterV2

Automate the process of making money online.
GNU Affero General Public License v3.0
2.36k stars 310 forks source link

Just followed the installation but getting this error message #38

Closed dwk601 closed 7 months ago

dwk601 commented 7 months ago

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 7 months ago

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 7 months ago

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?

bartex100 commented 7 months ago

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?

bartex100 commented 7 months ago

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 \

InternalShadow commented 7 months ago

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"