mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #623] Error import webvirtmgr.settings #474
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mathiasaulo on GitHub (Sep 16, 2016).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/623
Operation System: CentOS
Server VM: KVM
When placed ./manage.py collectstatic command appears the error below
./manage.py collectstatic
Traceback (most recent call last):
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/site-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/lib/python2.7/site-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/site-packages/django/conf/init.py", line 132, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'webvirtmgr.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named webvirtmgr.settings
this is error
I need you help.. thanks
@Azendale commented on GitHub (Oct 9, 2016):
Sorry for the delayed response. It seems like a couple of things could be happening:
pwdand anlsand share them to give us an idea what directory you were in when this error occurred.<myvirtualenvironmentname>/bin/activate@mathiasaulo commented on GitHub (Oct 27, 2016):
Thanks, virtual environment python with error, redid installation process, some upgrade in the packages and works.
Thanks your patience. =)