ImportError: No module named distutils

前端 未结 3 531
旧时难觅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:59

    @ciro

    I need to do even more to get virtualenv running again (upgraded from 18.04 to 20.04):

    sudo cp /usr/lib/python3.8/_sysconfigdata__* /usr/lib/python3.6/
    cd /usr/lib/python3.6
    sudo ln -s _sysconfigdata_m_linux_x86_64-linux-gnu.py _sysconfigdata_m_x86_64-linux-gnu.py
    

提交回复
热议问题