ImportError: No module named distutils

前端 未结 3 570
旧时难觅i
旧时难觅i 2021-01-17 18:20

Attempt to install psutils resulted a big headache...

$ python -V
Python 2.4.2

$ cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-17 18:52

    you need to run this (if Error happens on python3) ==> sudo apt-get install python3-distutils --reinstall

    you need to run this (if Error happens on python2) ==> sudo apt-get install python2-distutils --reinstall

提交回复
热议问题