@Tessa Ickx :
It seems that the issue you are experiencing is related to compatibility between different versions of ipywidgets. The TagsInput widget was introduced in version 8.0.4, so you would need at least that version to use it. However, upgrading to a newer version of ipywidgets might cause issues with the widgets that are already in use in your notebook.
One possible solution would be to use a virtual environment to install a newer version of ipywidgets just for the TagsInput widget. You could create a new environment with a specific version of ipywidgets and install the TagsInput widget in that environment. Then, you could use that environment for the specific notebook where you need to use the TagsInput widget.
Another option would be to use a different library for the functionality you need. One possibility is to use the SelectMultiple widget from ipywidgets, which allows selecting multiple options from a list. You could use a dropdown widget to display the list of available options, and use a text input widget to filter the options based on the user's input.
Alternatively, you could also consider using a different library, such as react-select or react-virtualized-select, which provide more advanced features for selecting multiple options from a large list. These libraries are based on React and can be used in a notebook by embedding them in an iframe using the
displayHTML function from IPython.core.display.
I hope this helps!