[ckan-dev] CKAN 2.2 installation - unable to create database tables
Nina Wu
nina at intersect.org.au
Wed May 21 23:31:53 UTC 2014
Hi
I'm following the installation instructions for CKAN 2.2 for installing
CKAN 2.2 located
http://docs.ckan.org/en/latest/maintaining/installing/install-from-package.html
Everything has been working fine up to Step 6 located
http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html#create-database-tables
I am working as root on the server, and when I send the below command, I
get the below error.
Command:
paster db init -c /etc/ckan/default/development.ini
Error:
Traceback (most recent call last):
File "/usr/bin/paster", line 4, in <module>
command.run()
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line
103, in run
command = commands[command_name].load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in
load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 11, in
<module>
import ckan.lib.fanstatic_resources as fanstatic_resources
File "/usr/lib/ckan/default/src/ckan/ckan/lib/fanstatic_resources.py",
line 6, in <module>
from fanstatic import Library, Resource, Group, get_library_registry
ImportError: No module named fanstati
On the Internet, I see mention of needing to activate a virtual
environment. And I'm assuming this is because the server I am installing
CKAN on is a virtual machine. So I successfully running the below command
but still get the same error when I re-attempt the command "paster db init
-c /etc/ckan/default/development.ini".
Command:
/usr/lib/ckan/default/bin/activate
Any ideas on what I've missed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140522/cea510da/attachment-0002.html>
More information about the ckan-dev
mailing list