Home > Enterprise >  no module named pyfiglet.fonts failed to execute script due to unhandled exception
no module named pyfiglet.fonts failed to execute script due to unhandled exception

Time:12-27

I have recently compiled a .py file to an application and the .py works fine but the application gives me this error no module named pyfiglet.fonts failed to execute script '' due to unhandled exception then closes immediately

The modules im using :

from colorama import Fore
from selenium import webdriver
from time import sleep
import pyfiglet
from colorama import Fore
from selenium import webdriver
from time import sleep 

CodePudding user response:

This may be due to missing package/ incorrect virtual env being used to run the program.

you can verify the package's installation by running pip freeze in the terminal if you are not using an IDE in the first place.

CodePudding user response:

pyfiglet==0.8.post1 this is what comes up for pyfiglet

  • Related