随笔分类 -  python

IOError: cannot open resource
摘要:在运行PIL_test.py文件的时候报错: File "PIL_test.py", line 40, in <module> font = ImageFont.truetype('/usr/share/fonts/Arial.ttf', 36) File "/usr/lib64/python2.6 阅读全文
posted @ 2017-06-25 17:59 言止予思 阅读(7865) 评论(0) 推荐(1) 编辑
ImportError: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory
摘要:在开发一个python项目是,需要用到mysql,但是, 安装完mysql-python后import加载模块提示以下错误: ImportError: libmysqlclient_r.so.16: cannot open shared object file: No such file or di 阅读全文
posted @ 2017-03-07 14:37 言止予思 阅读(2410) 评论(0) 推荐(0) 编辑