Please only comment if you know what you are doing. No attempts please!
This is the error i am getting:
eric = eric.Eric(screen, (320,240), (0,-1))
UnboundLocalError: local variable 'eric' referenced before assignment
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
Without seeing more code it is difficult to say. My guess would be that you are referencing eric within a function so you would need to explicitly declare it as global otherwise it is presumed to be local...
def someName():
global eric
rest of your code