为了运行Pelican,我安装了python2.7并修改了第一行文件/ usr/bin/pelican-quickstart
从:
#!/usr/bin/python
Run Code Online (Sandbox Code Playgroud)
至
#!/usr/bin/env python
Run Code Online (Sandbox Code Playgroud)
当我输入pelican-quickstart时发生错误:
Traceback (most recent call last):
File "/usr/bin/pelican-quickstart", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
Run Code Online (Sandbox Code Playgroud)
我发现"pkg_resources"在这个目录中:
/usr/lib/python2.6/site-package/
Run Code Online (Sandbox Code Playgroud)
我想知道在安装python2.7之后是否必须安装一些软件包?或者,我该如何解决这个问题.
RabbitMQ 保持日志记录
=ERROR REPORT==== 24-Aug-2014::06:25:07 ===
connection <0.109.6880>, channel 1 - soft error:
{amqp_error,precondition_failed,"unknown delivery tag 1",'basic.ack'}
Run Code Online (Sandbox Code Playgroud)
日志文件相当大。