【问题标题】:CKAN installation errors: Sites ckan_default and datapusher do not existCKAN 安装错误:站点 ckan_default 和 datapusher 不存在
【发布时间】:2014-05-19 21:24:21
【问题描述】:

我正在尝试将CKAN 安装到 Ubuntu 13.10 上。 (64 位)关注these instructions。机器上安装了 Python 2.7.5+。以下错误阻止我安装 CKAN 包:

$ sudo dpkg -i python-ckan_2.2_amd64.deb
Selecting previously unselected package python-ckan.
(Reading database ... 289528 files and directories currently installed.)
Unpacking python-ckan (from python-ckan_2.2_amd64.deb) ...
Setting up python-ckan (2.2-1) ...
Traceback (most recent call last):
  File "/usr/lib/ckan/default/bin/paster", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/ \
    distribute-0.6.24-py2.7.egg/pkg_resources.py", line 16, in <module>
    import sys, os, zipimport, time, re, imp, types
  File "/usr/lib/ckan/default/lib/python2.7/re.py", line 105, in <module>
    import sre_compile
  File "/usr/lib/ckan/default/lib/python2.7/sre_compile.py", line 14, in <module>
    import sre_parse
  File "/usr/lib/ckan/default/lib/python2.7/sre_parse.py", line 17, in <module>
    from sre_constants import *
  File "/usr/lib/ckan/default/lib/python2.7/sre_constants.py", line 18, in <module>
    from _sre import MAXREPEAT

ImportError: cannot import name MAXREPEAT
 System start/stop links for /etc/init.d/nginx already exist.
 System start/stop links for /etc/init.d/apache2 already exist.
ERROR: Site ckan_default does not exist!
ERROR: Site datapusher does not exist!

【问题讨论】:

    标签: python apache ubuntu nginx ckan


    【解决方案1】:

    最后,我按照documentation 的建议从源代码安装了 CKAN:

    这是安装 CKAN 最快、最简单的方法,但它需要 Ubuntu 12.04 64 位。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-01
      • 2014-07-22
      • 1970-01-01
      • 1970-01-01
      • 2011-07-26
      相关资源
      最近更新 更多