[ninux-dev] Installazione Nodeshot
Patrizio Perna
patrizio.p88 at gmail.com
Sat Jan 30 14:44:56 CET 2016
Ciao a tutti,
stavo procedendo all'istallazione di un'istanza Nodeshot su una
macchina virtuale Ubuntu 15.10, seguendo questa quida[1], ma ho
incontrato un problema per il quale non sono riuscito a trovare una
soluzione, con la mia poca esperienza di python e django. Inoltre nel
file requirements.txt ho modificato le dipendenze dei pacchetti,
django-rosetta==0.7.6
django-celery-email==1.1.2
django-debug-toolbar==1.3.0
forzandole in questo modo, poichè le versioni successive avevano come
dipendenza django 1.7 e non mi faceva installare nodeshot attraverso
il comando "python setup.py develop".
Andando avanti nell'istallazione mi blocco in questo punto:
patrick at kaori:~/repo/nodeshot/dev$ ./manage.py migrate
--no-initial-data && ./manage.py loaddata initial_data
/usr/lib/python2.7/dist-packages/twisted/internet/endpoints.py:30:
DeprecationWarning:
twisted.internet.interfaces.IStreamClientEndpointStringParser was
deprecated in Twisted 14.0.0: This interface has been superseded by
IStreamClientEndpointStringParserWithReactor.
from twisted.internet.interfaces import (
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 284, in execute
self.validate()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 310, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py",
line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py",
line 196, in get_app_errors
self._populate()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py",
line 78, in _populate
self.load_app(app_name)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py",
line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 40, in import_module
__import__(name)
File "/home/patrick/repo/nodeshot/nodeshot/core/layers/models/__init__.py",
line 2, in <module>
from layer import Layer
File "/home/patrick/repo/nodeshot/nodeshot/core/layers/models/layer.py",
line 10, in <module>
from nodeshot.core.nodes.models import Node
File "/home/patrick/repo/nodeshot/nodeshot/core/nodes/models/__init__.py",
line 1, in <module>
from .node import Node
File "/home/patrick/repo/nodeshot/nodeshot/core/nodes/models/node.py",
line 8, in <module>
from nodeshot.core.base.managers import
HStoreGeoAccessLevelPublishedManager as NodeManager
File "/home/patrick/repo/nodeshot/nodeshot/core/base/managers.py",
line 6, in <module>
from django_hstore.query import HStoreQuerySet, HStoreGeoQuerySet
File "/usr/local/lib/python2.7/dist-packages/django_hstore/query.py",
line 20, in <module>
from django_hstore.apps import GEODJANGO_INSTALLED
File "/usr/local/lib/python2.7/dist-packages/django_hstore/apps.py",
line 6, in <module>
from django.apps import AppConfig
ImportError: No module named apps
patrick at kaori:~/repo/nodeshot/dev$
[1]http://nodeshot.readthedocs.org/en/latest/topics/install_development.html
More information about the ninux-dev
mailing list