Yesterday I finished the tutorial for Django framework.
On this tutorial I've created simple application and now I'd like to move my app to remote internet server. I have such server , I'm connected to SSH by putty and when I write python
, I see: Python 2.7.12 (default, Nov 19)
But if I try to put this commend: python setup.py install
I get:
Traceback (most recent call last):
File "setup.py", line 5, in <module>
from setuptools import find_packages, setup
ImportError: No module named setuptools
and it's strange because after this:
>>> import django
>>> django.VERSION
I see the version: (1, 10, 5, u'final', 0)
And I copied a folder with my app by FTP
So, can you tell me, step by step, how can I run my application?
Thanks for your answers. I've tried this code:
sudo apt-get install python-setuptools
and i received this message:
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
Any Ideas ?