Re: Issue with manage.py runserver

2016-12-05 Thread Antonis Christofides
Try apt-get install --reinstall python and see if it fixes the problem. If it doesn't, there are more drastic things you can do, but they can cripple your system. Antonis Christofides http://djangodeployment.com On 2016-12-05 18:12, ninos...@gmail.com wrote: > > Actually this isn't a virtual se

Re: Issue with manage.py runserver

2016-12-05 Thread ninosm12
Actually this isn't a virtual server. Reinstalling everything is not a good idea. So what should I do? Any "harmless" way to fix this stuff without loosing my files. Loosing python packages would not be a problem. So what should I do now. Could you please tell each step so I don't screw up agai

Re: Issue with manage.py runserver

2016-12-05 Thread Antonis Christofides
Apparently you have touched your system's Python installation, which is a bad idea. If this is a virtual server and you don't have anything else in it, your best bet would be to reinstall it from scratch. Antonis Christofides http://djangodeployment.com On 2016-12-05 17:14, ninos...@gmail.com wro

Re: Issue with manage.py runserver

2016-12-05 Thread ninosm12
Thanks for the dude but I think we have another problem. when I try to install it I get the following error : Reading package lists... Done Building dependency tree Reading state information... Done python-sqlite is already the newest version. The following packages were automatically inst

Re: Issue with manage.py runserver

2016-12-05 Thread Antonis Christofides
Install SQLite: apt install python-sqlite -- Antonis Christofides http://djangodeployment.com/ On Mon, 5 Dec 2016 03:28:34 -0800 (PST), ninos...@gmail.com wrote: > Hi, > I deleted that project file and made a new one. Now I got the following > error > Unhandled exception in thread started by

Re: Issue with manage.py runserver

2016-12-05 Thread ninosm12
Hi, I deleted that project file and made a new one. Now I got the following error Unhandled exception in thread started by Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper fn(*args, **kwargs) File "/usr/lo

Re: Issue with manage.py runserver

2016-12-04 Thread pradam programming
Hi, 1.Check any other file in directory by same name. 2.check __init__.py file is their in Root Project folder.. On 4 Dec 2016 8:04 pm, wrote: > I started a new project in Django today (actually my first django > project). Strangely when I run python manage.py runserver it does > absolutely noth