Did you had llamaindex previously installed in the same env with version < 0.10? If so you will have to completely remove llama-index first by doing pip uninstall llama-index and then install it again pip install llama-index
I tried fresh on colab with latest version and it seems to be working fine for me!