Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux No such file or directory error #41

Closed
AMEND09 opened this issue Feb 25, 2024 · 1 comment
Closed

Linux No such file or directory error #41

AMEND09 opened this issue Feb 25, 2024 · 1 comment

Comments

@AMEND09
Copy link

AMEND09 commented Feb 25, 2024

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
Copy link
Owner

FujiwaraChoki commented Feb 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants