mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 00:25:51 +03:00
[GH-ISSUE #424] manage.py throwing error #317
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 @goshlanguage on GitHub (Sep 10, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/424
I have been using a salt state to install webvirtmgr to different servers, which has been working as expected. Today I setup a server, however and I got the following error:
[root@qakvm2 webvirtmgr]# ./manage.py
Traceback (most recent call last):
File "./manage.py", line 8, in
from django.core.management import execute_from_command_line
File "/usr/lib/python2.6/site-packages/django/core/management/init.py", line 68
commands = {name: 'django.core' for name in find_commands(path[0])}
^
SyntaxError: invalid syntax
This happens anytime manage.py is called.
I've rerun the bootstrapper a few times, as well as setup.py, however I am still getting this error. I use python 2.6.6, as I use on other servers. Does anyone know how to resolve this?
@retspen commented on GitHub (Sep 10, 2014):
Can you try that?
@goshlanguage commented on GitHub (Sep 10, 2014):
[root@qakvm2 images]# python
@retspen commented on GitHub (Sep 12, 2014):
You can try new trick with virtualenv: