Error when creating a code envieroment with Python 3.6

rafael_rosado97
rafael_rosado97 Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 62 Partner

Hello, everyone.

I am trying to create a code enviroment with python 3.6 and I got the following error:

RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6'

Same error when I try with 3.7, 3.8 or 3.9; but with 2.7, there is not any error.

Do you know why it occurs?

Thanks!!


Operating system used: Linux

Best Answers

Answers

  • rafael_rosado97
    rafael_rosado97 Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 62 Partner

    Thank you so much, @MiguelangelC
    and @DanDy
    . It was very helpful and worked for me.

    For those who want to add different Python version and had the same error, to define PATH on env-site.sh, it works for me:

    export PATH=$PATH​/usr/local/bin/python3.7:$PATH​/usr/local/bin/python3.8:$PATH​/usr/local/bin/python3.9

    ​/usr/local/bin/pythonVERSION was returned by the command: which pythonVERSION

  • rafael_rosado97
    rafael_rosado97 Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 62 Partner

    Thank you very much, @MiguelangelC
    and @DanDy
    . It works!

Setup Info
    Tags
      Help me…