import matplotlib.pyplot as plt fails with error about python-tk

后端 未结 3 1522
终归单人心
终归单人心 2021-01-21 08:03

I tried to import matplotlib.pyplot, however received an error relating to python-tk not being installed. It appears to be installed but I still appear to be receiving the error

3条回答
  •  被撕碎了的回忆
    2021-01-21 09:01

    As a temporary arrangement just do

    mv libBLT.2.4.so.8.6 libBLT.2.4.so.8.5
    

    under /usr/lib/ . It should work fine again

提交回复
热议问题