Solved by pyaf in post #2 
              
              
                So, I’ve traced down the issue. It is being caused by mutlicrop module which I’m using as an dependency for my project. I recloned the multicrop repo, reinstalled it and now it works.