FujiwaraChoki / MoneyPrinterV2

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

Linux No such file or directory error #41

Closed AMEND09 closed 4 months ago

AMEND09 commented 4 months ago

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'

FujiwaraChoki commented 4 months ago

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