[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] BigPanDA HTCondor API: ImportError: Could not import settings 'htcondor.settings'



[root@slave2 site-packages]# condor_version
$CondorVersion: 8.2.3 Sep 30 2014 BuildID: 274619 $
$CondorPlatform: x86_64_RedHat6 $
[root@slave2 site-packages]# rpm -ql python-condor
package python-condor is not installed
[root@slave2 site-packages]# rpm -ql condor-python
package condor-python is not installed

[root@slave2 site-packages]# python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'htcondor.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named settings
[root@slave2 site-packages]# 

i use "python setup.py install" to intall bigpanda condor api, then i cd to /usr/lib/python2.6/site-packages/ and can't runserver.
any help?

anyone know how to configure bigpanda condor api?

Allen