python 2.7 functools_lru_cache does not import although installed

前端 未结 14 1920
星月不相逢
星月不相逢 2020-12-05 17:21

When I try to import matplotlib I get an error

Traceback (most recent call last):
  File \"\", line 1, in 
  File \"/usr/local/lib         


        
14条回答
  •  感动是毒
    2020-12-05 17:59

    Following from Aditya Jain's answer,

    [python -m] pip uninstall backports.functools_lru_cache
    [python -m] pip install backports.functools_lru_cache==1.2.1
    

    which will avoid installing arrow merely to downgrade functools_lru_cache.

提交回复
热议问题