import matplotlib.pyplot hangs

后端 未结 3 1604
长发绾君心
长发绾君心 2020-12-04 15:26

I\'m trying to get matplotlib up and running on OS X 10.8.4. I\'ve installed matplotlib and the dependencies (libping, freetype, numpy, scipy). I am able to import matplotli

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 16:17

    I figured out what was happening. Hopefully the solution is useful to others. In the /usr/X11/lib folder there was a symbolic link for the directory that was pointing back to itself. This appears to have created an infinite loop. When I removed the link, the import worked.

提交回复
热议问题