Linux installation: manage.py suncdb error

59 views
Skip to first unread message

Pavelescu Razvan

unread,
May 18, 2013, 6:45:28 PM5/18/13
to class2g...@googlegroups.com
Hello,

             I'am installing open2go platform on my laptop, but I got stuck at a point.
             At a point, I have to run ./manage.py suncdb, but I get an error:

(class2go)saizeci@ubuntu
localhost:~/DevProjects/class2go/class2go/main$ ./manage.py suncdb
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
    utility.execute()
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 263, in fetch_command
    app_name = get_commands()[subcommand]
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 109, in get_commands
    apps = settings.INSTALLED_APPS
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
    self._setup(name)
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/saizeci/DevEnvs/class2go/local/lib/python2.7/site-packages/django/conf/__init__.py", line 134, in __init__
    raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'settings' (Is it on sys.path?): No module named djcelery
(class2go)saizeci@ubuntu

localhost:~/DevProjects/class2go/class2go/main$

          If anyone could tell me what is the problem or give me a hint, it would be awesome.


          P.S. Keep running the great stuff!

            Thanks,
                    Pavelescu Razvan


Sef Kloninger

unread,
May 20, 2013, 12:57:40 AM5/20/13
to Pavelescu Razvan, class2g...@googlegroups.com
Install the requirements.  "pip install -r requirements.txt"

--
You received this message because you are subscribed to the Google Groups "class2go users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to class2go-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pavelescu Razvan

unread,
May 20, 2013, 8:48:35 PM5/20/13
to class2g...@googlegroups.com, Pavelescu Razvan
Hello,
         I did install the requirements.

          Anyway, I started a new fresh configurantion&installation, but when I`am running pip installl -r requirements.txt I have a problem with a package. Please take a look at my screenshot.

        Thank you,
           Pavelescu
err2.png

Pavelescu Razvan

unread,
May 20, 2013, 9:10:58 PM5/20/13
to class2g...@googlegroups.com, Pavelescu Razvan
 Well I found the solution. I had to apt-get install libxml2-dev libxslt-dev according to http://stackoverflow.com/questions/13019942/why-cant-i-get-pip-install-lxml-to-work-on-a-virtualenv
Reply all
Reply to author
Forward
0 new messages