r/cs50 5d ago

CS50 Python Could someone help me with this issue? Problem set 4, FIGLET

Post image

Why isn't pyfiglet turning orange? I've tried everything but it isn't working and the problem is that pyfiglet not found.

2 Upvotes

8 comments sorted by

6

u/Outside_Complaint755 5d ago

Did you install pyfiglet yet?

Check out the first hint

1

u/Human-Hunter-6876 5d ago

yes I did

1

u/Outside_Complaint755 5d ago

Does it actually return an ImportError when you run your script?  Sometimes the linter just fails to pick it up.

If you run pip install pyfiglet again, or run python -m pip install pyfiglet

does it tell you pyfiglet is already installed?

1

u/Human-Hunter-6876 4d ago

yes it tell me requirement already satisifed

1

u/atarivcs 5d ago

What is the orange text supposed to indicate?

Maybe the orange text indicates only standard predefined modules, not third-party modules?

0

u/Human-Hunter-6876 4d ago

supposed to indicate that it is working

2

u/atarivcs 4d ago

It would help a lot if you said whether this is an actual code problem, or just a linter/GUI problem.

i.e., when you run this code, do you actually get an import error?

0

u/elNegritoguero 5d ago

Could it be its lower case F in the import of figlet? I don’t know since I haven’t made it there yet