ValueError: The current client does not have a dataselect service

Thanks for your reply! Actually the problem was solved after I had restarted my computer.