I have this piece of code
from module1 import *
feature1() # from module1
I get a NameError exception
NameError: global name 'feature1' is not defined
It works perfectly in python main.py, but when I use pyinstaller to compile, my executable throws the NameError exception. How would I go about fixing this?