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

No module named 'pyfiglet' #2

Closed
kikieri opened this issue Feb 15, 2023 · 2 comments
Closed

No module named 'pyfiglet' #2

kikieri opened this issue Feb 15, 2023 · 2 comments
Assignees

Comments

@kikieri
Copy link

kikieri commented Feb 15, 2023

Love this script for my terminal, using m1max osx,
since an python update I got this:
Traceback (most recent call last):
File "/Users/username/colorize_ascii.py", line 5, in
import pyfiglet
ModuleNotFoundError: No module named 'pyfiglet'

But I got the module installed.
Problem:
Homebrew/homebrew-core#76621

How can I fix it and make it work again?

@pedrocatalao pedrocatalao self-assigned this Feb 23, 2024
@pedrocatalao
Copy link
Owner

Hi, I totally missed this question. Did you manage to fix it?
It might be that now you are running the rgb script with a different installation of python from the one that has pyfiglet installed.

@pedrocatalao
Copy link
Owner

I suggest you try this:

python -m pip install pyfiglet

If Python detects the pip module as non-existent, which is useful in many cases (like installations that did not install pip), use the built-in ensurepip module to install it:

python -m ensurepip

If that doesn't work feel free to reopen the issue :)

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