2 Replies Latest reply on Jun 14, 2018 9:09 AM by Nathan Mannheimer

    "No module named model_selection" error when calling Python from Tableau Desktop

    Kaz Kida

      I've successfully installed Python 3.6 to my PC and can run sample codes on jupyter notebook.

      But once I try to re-create it in Tableau, "No module named model_selection" error prevents me from going further.


      The green rectangle shows that the model_selection is installed and working perfectly on jupyter notebook.

      The blue rectangle shows that the model_selection is imported in the SCRIPT_REAL function.

      The red rectangle shows that the error is happening.


      The screens are from the same PC.


      Anybody can help me telling how to solve this? and why this happens.


      Thank you in advance,


      Kaz Kida