Telegram-InstaPy-Scheduling
                                
                                
                                
                                    Telegram-InstaPy-Scheduling copied to clipboard
                            
                            
                            
                        Error when I execute main.py
I am getting this error when I try to execute main.py, any suggestions?
Traceback (most recent call last):
File "main.py", line 30, in 
try to execute with python3
Thanks Python3 worked for me.
However python is quitting unexpectedly after script finished running.
the script is simple
def mascara(InstaPy, username, password, proxy=None): try: session = InstaPy(username=username, password=password) session.login() session.follow_user_followers(['bli_bla_blou'], amount=25, randomize=False, sleep_delay=60) session.end() except: print(traceback.format_exc())
No other errors reported?