ModuleNotFoundError: No module named ‘sklearn.externals.six’ July 22, 2023 by Tarik You can use something like below.. from six import StringIO