【发布时间】:2015-04-08 10:05:08
【问题描述】:
我正在使用 ckan 并想激活 datapusher 插件。所以我按照ckan页面上的几个步骤进行操作。但安装后我在端口上收到 500 错误,并在日志中收到此错误:
mod_wsgi (pid=536): Target WSGI script '/etc/ckan/datapusher.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=536): Exception occurred processing WSGI script '/etc/ckan/datapusher.wsgi'.
Traceback (most recent call last):
File "/etc/ckan/datapusher.wsgi", line 10, in <module>
web.init()
AttributeError: 'module' object has no attribute 'init'
看来datapusher.wsgi有问题 但是由于我对python和apache的了解很少,我无法解决这个问题。
其他人是否遇到过此问题并找到解决方法或知道如何解决?
【问题讨论】: