ModuleNotFoundError: No module named 'distutils.cmd'

dialpemo
dialpemo Registered Posts: 5 ✭✭✭✭
edited July 16 in Setup & Configuration

I have recently installed dataiku, and when trying to create a new python environment through the console I get the above error. I have run the command

apt-get install python3-distutils

as per instruction in the help with no effect.

the linux server is

type :virtual machine

os: ubuntu-20.04.4-live-server-amd64

python: default python on ubuntu 3.8

Please help


Operating system used: ubuntu-20.04.4-live-server-amd64

Best Answer

Answers

  • VitaliyD
    VitaliyD Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer Posts: 102 Dataiker
    edited July 17

    Hi,

    Could you also try to install python3-apt:

    sudo apt-get install python3-apt

    If it still doesn't work, could you please clarify what you mean by "trying to create a new python environment through the console"? Are you trying to create a code env in DSS using UI or do you mean something else? Could you provide more details and the full log?

    Best.

  • CoreyS
    CoreyS Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 1,150 ✭✭✭✭✭✭✭✭✭

    Thank you for sharing your solution with the rest of the Community @dialpemo
    !

Setup Info
    Tags
      Help me…