简体   繁体   English

CKAN安装错误:站点ckan_default和datapusher不存在

[英]CKAN installation errors: Sites ckan_default and datapusher do not exist

I am trying to install CKAN onto Ubuntu 13.10. 我正在尝试将CKAN安装到Ubuntu 13.10上。 (64bit) following these instructions . (64位)遵循这些说明 Python 2.7.5+ is installed on the machine. 机器上安装了Python 2.7.5+。 The following errors stop me from installing the CKAN package: 以下错误使我无法安装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!

Finally, I installed CKAN from source as suggested by the documentation : 最后,按照文档的建议,我从源代码安装了CKAN:

This is the quickest and easiest way to install CKAN, but it requires Ubuntu 12.04 64-bit. 这是安装CKAN的最快和最简单的方法,但是它需要Ubuntu 12.04 64位。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM