The community members are discussing issues with upgrading to version 0.10.x of the llama_index library. They mention that the upgrade is a larger change, and some community members are experiencing import errors and other issues when trying to use the new version. The community members suggest trying older versions, creating new virtual environments, and manually upgrading files. Eventually, a fix is published, and the community members are able to resolve the issues by installing the updated version and addressing specific problems with their code. There is no explicitly marked answer, but the community members work together to troubleshoot and find solutions.
52 def init(self, handlers: Optional[List[BaseCallbackHandler]] = None): 53 """Initialize the manager with a list of handlers.""" ---> 54 from llama_index.core import global_handler 55 56 handlers = handlers or []
ImportError: cannot import name 'global_handler' from 'llama_index.core' (/usr/local/lib/python3.10/dist-packages/llama_index/core/init.py)