[indivohealth] No module named indivo #help# [EXTERNAL]

9 views
Skip to first unread message

Asikhatali

unread,
Dec 5, 2017, 12:57:15 AM12/5/17
to indivohealth
Hello
I have been following the excellent instructions which I found on this group message board to install the Indivo server on an amazon EC2 server. I am not hot with coding etc and I am now at a loss with how to proceed.

I am on page seven or so of the instructions to install on ubuntu 14.04
I have run 
 
~/indivo_server$ python manage.py test indivo

I get the following - what does it mean and how to fix this?

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 67, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/South-1.0.2-py2.7.egg/south/management/commands/__init__.py", line 10, in <module>
    import django.template.loaders.app_directories
  File "/usr/local/lib/python2.7/dist-packages/django/template/loaders/app_directories.py", line 23, in <module>
    raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError indivo: No module named indivo

Asikhatali

unread,
Dec 6, 2017, 1:35:47 AM12/6/17
to indivohealth
Thank you for your attention. I have resolved my previous issue. Here is the solution:
When you unpack indivo_server check to see there are files in the oauth directory. If there are none, find a different source file. 
Initially I used wget http://... to get a file from github but this had no files in oauth 
Then I used git clone to fetch the files from github and this source had files in oauth

Asikhatali

unread,
Dec 6, 2017, 7:11:07 PM12/6/17
to indivohealth
The resolution here is: not to worry as the preceeding line 
======================================================================
ERROR: test_get_smart_ontology (indivo.tests.api.smart_tests.SMARTInternalTests)
----------------------------------------------------------------------
 shows a reference to smart, which reference has been superceeded. it is not that necessary so ignore this single error when you run 

python manage.py test indivo

On Tuesday, December 5, 2017 at 5:57:15 AM UTC, Asikhatali wrote:
Reply all
Reply to author
Forward
0 new messages