Submit your inspiring success story or innovative use case to the 2022 Dataiku Frontrunner Awards! ENTER YOUR SUBMISSION

ModuleNotFoundError: No module named 'distutils.cmd'

Solved!
dialpemo
Level 1
ModuleNotFoundError: No module named 'distutils.cmd'

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

 

0 Kudos
1 Solution
dialpemo
Level 1
Author

HI a colleague, of mine figure it out i need to be specific on the python version instead 3 i needed to use 3.7.

 

Thank you

View solution in original post

3 Replies
VitaliyD
Dataiker
Dataiker

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.

0 Kudos
dialpemo
Level 1
Author

HI a colleague, of mine figure it out i need to be specific on the python version instead 3 i needed to use 3.7.

 

Thank you

CoreyS
Community Manager
Community Manager

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

Looking for more resources to help you use Dataiku effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as ‘Accepted Solution’ to help others like you!
0 Kudos