Error :Reactor Not Restartable

i am running simple code to convert tick data to 1 min OHLC on google colab. i am getting 2 error.
1. first its showing error "syntax error" for "print("\n"), name)" .i have bypaased this line .
2. so now its giving second error at last line "kws.connect()" with error ReactorNotRestartable. pls suggest.
Pl. note that Error snap is kept at following link:
Sign In or Register to comment.