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

dependency chafa.py requires imageMagick installed #8

Closed
afya opened this issue Mar 1, 2025 · 3 comments
Closed

dependency chafa.py requires imageMagick installed #8

afya opened this issue Mar 1, 2025 · 3 comments

Comments

@afya
Copy link

afya commented Mar 1, 2025

Perform any action after installation. (pip install .)

Receive below error

Python\Python311\Lib\site-packages\chafa\loader.py", line 19, in _get_library_name
    with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\ImageMagick\\Current") as key:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

MagickWand of ImageMagick seems to be a requirement for chafa loader.
https://github.com/GuardKenzie/chafa.py/blob/c2d4222122c6d25bdf9ad4b765586860320be989/README.md?plain=1#L110

@tikendraw
Copy link
Owner

Google "how to install chafa/imagemagick ?"

@afya
Copy link
Author

afya commented Mar 1, 2025

I installed but this should be in the doc or dependency.

@tikendraw
Copy link
Owner

I will add that in doc or make it optional. 👍

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