擅长:python、mysql、java
<p>日志记录是由<code>pip</code>或<code>easy_install</code>手动安装的,但是pip中的包比较旧,因此我在<code>/usr/local/lib/python2.7/dist-packages</code>中安装了0.4.9.6版本,而最新的版本是在<code>usr/lib/python2.7</code>中随python一起安装的。在服务器上,<code>dist-package</code>似乎位于路径的前面,但不在桌面上。无论如何,删除旧的包解决了这个问题。在</p>