본문 바로가기

Language/Python

[Error] pipenv - ModuleNotFoundError

Question : On ubuntu, i'm trying to install python package inside Pipenv environment. But, it is giving this error : ModuleNotFoundError : No module name 'distutils.cmd'

 

Answer : The issue is resolved by installing distutils manually with 'sudo apt install python3-distutils'. It is working fine below 3.9.9. 

 

 

Source from :