ModuleNotFoundError: No module named 'datasets'

this may be possibly because, the environment which you are operating on is different environment. and the datasets is installed on other environment. try checking using command for the pip path: !which pip